diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-24 23:19:45 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-24 23:19:45 +0000 |
| commit | eb2a0feb0154e86a1c6c117fd0f6d1a18959b694 (patch) | |
| tree | 341cf6129fe724edad9466a18310713489a3c74a /openbox/client.c | |
| parent | 4aa8d64f76b48f8c43eb39eeca1f61fcc8c7b61e (diff) | |
watch for reverttoparent reverting to the root window, which will create a DetailInferior focusin event on root.
adding some debug messages also which I am using..
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index f1be6fa4..a51ecfd7 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -220,13 +220,14 @@ void client_manage(Window window) grab_server(TRUE); - /* check if it has already been unmapped by the time we started mapping + /* check if it has already been unmapped by the time we started mapping. the grab does a sync so we don't have to here */ if (XCheckTypedWindowEvent(ob_display, window, DestroyNotify, &e) || XCheckTypedWindowEvent(ob_display, window, UnmapNotify, &e)) { XPutBackEvent(ob_display, &e); + ob_debug("Trying to manage unmapped window. Aborting that.\n"); grab_server(FALSE); return; /* don't manage it */ } @@ -393,6 +394,8 @@ void client_manage(Window window) won't be all wacko!! also, this moves the window to the position where it has been placed */ + ob_debug("placing window 0x%x at %d, %d with size %d x %d\n", + self->window, newx, newy, self->area.width, self->area.height); client_apply_startup_state(self, newx, newy); keyboard_grab_for_client(self, TRUE); |
