]> Dogcows Code - chaz/openbox/commitdiff
check to make sure the window is on screen *after* positioning it
authorDana Jansens <danakj@orodu.net>
Tue, 24 Jun 2003 19:19:06 +0000 (19:19 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 24 Jun 2003 19:19:06 +0000 (19:19 +0000)
openbox/client.c

index 87cdba96973d61b55cef4f8f76bcff33ea6bbcee..20bcf06766f0cd6f3b96d704d7c5887d764f59a9 100644 (file)
@@ -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);
This page took 0.034405 seconds and 4 git commands to generate.