From: Dana Jansens Date: Tue, 24 Jun 2003 19:19:06 +0000 (+0000) Subject: check to make sure the window is on screen *after* positioning it X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;ds=sidebyside;h=6dd3ee7271d1c90de8f516e32263f2da7caac4b3;p=chaz%2Fopenbox check to make sure the window is on screen *after* positioning it --- 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);