summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-12 09:30:28 +0000
committerDana Jansens <danakj@orodu.net>2003-08-12 09:30:28 +0000
commitf4979de3f5257bf70591d4ccf0ecab7da567b27d (patch)
tree84e64541176d21fc86716362adc59d6238eedbde /openbox
parent0b4b4c2b709a09b05b69f62f82f15c4c910a0f1c (diff)
dont move windows when starting
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 1c3152c8..81eafa7d 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -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();