diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-06-24 19:19:06 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-06-24 19:19:06 +0000 |
| commit | 6dd3ee7271d1c90de8f516e32263f2da7caac4b3 (patch) | |
| tree | 96e699d1ec8600195cefba47cd3c498c0b68e651 | |
| parent | 5cd0ed57acda1e7858be5c9d20635f5660353a2b (diff) | |
check to make sure the window is on screen *after* positioning it
| -rw-r--r-- | openbox/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c index 87cdba96..20bcf067 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -290,11 +290,11 @@ void client_manage(Window window) screen_update_struts(); + dispatch_client(Event_Client_New, self, 0, 0); + /* make sure the window is visible */ client_move_onscreen(self); - dispatch_client(Event_Client_New, self, 0, 0); - client_showhide(self); if (activate) client_activate(self); |
