]> Dogcows Code - chaz/openbox/commitdiff
dont move windows when starting
authorDana Jansens <danakj@orodu.net>
Tue, 12 Aug 2003 09:30:28 +0000 (09:30 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 12 Aug 2003 09:30:28 +0000 (09:30 +0000)
openbox/client.c

index 1c3152c84053a8831e32c312fa03d7759d398d88..81eafa7d0110b0e9d6775e65230dba69f8f7fcf0 100644 (file)
@@ -304,7 +304,8 @@ void client_manage(Window window)
     dispatch_client(Event_Client_New, self, 0, 0);
 
     /* make sure the window is visible */
-    client_move_onscreen(self, TRUE);
+    if (ob_state() == OB_STATE_RUNNING)
+        client_move_onscreen(self, TRUE);
 
     screen_update_areas();
 
This page took 0.02616 seconds and 4 git commands to generate.