summaryrefslogtreecommitdiff
path: root/src/screen.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-24 00:02:24 +0000
committerDana Jansens <danakj@orodu.net>2003-01-24 00:02:24 +0000
commit406c79aea1b6f9c8bd1bbeb253ebc7cb97fc7e25 (patch)
treee960abd6eee0027442a1b6a2122a13b19984341a /src/screen.cc
parentf1951eaae2b377b1db1fdbdd236e84b4ef2e8c60 (diff)
out with the blackbox source
Diffstat (limited to 'src/screen.cc')
-rw-r--r--src/screen.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/screen.cc b/src/screen.cc
index 6525150b..d82464dc 100644
--- a/src/screen.cc
+++ b/src/screen.cc
@@ -527,7 +527,8 @@ void Screen::manageWindow(Window window)
openbox->bindings()->fireEvent(&data);
#ifdef DEBUG
- printf("Managed window 0x%lx\n", window);
+ printf("Managed window 0x%lx frame 0x%lx\n",
+ window, client->frame->window());
#endif
}
@@ -572,6 +573,9 @@ void Screen::unmanageWindow(Client *client)
// reparent the window out of the frame
frame->releaseClient();
+#ifdef DEBUG
+ Window framewin = client->frame->window();
+#endif
delete client->frame;
client->frame = 0;
@@ -585,7 +589,7 @@ void Screen::unmanageWindow(Client *client)
client->unfocus();
#ifdef DEBUG
- printf("Unmanaged window 0x%lx\n", client->window());
+ printf("Unmanaged window 0x%lx frame %lx\n", client->window(), framewin);
#endif
delete client;