]> Dogcows Code - chaz/openbox/commitdiff
don't place the window magically if we're starting (the window was already placed)
authorDana Jansens <danakj@orodu.net>
Tue, 7 Jan 2003 06:56:57 +0000 (06:56 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 7 Jan 2003 06:56:57 +0000 (06:56 +0000)
src/screen.cc

index f7587abcbfc6a9ed4e51fce2fedebb874c9b19bf..2dcc110f5b668381ec791716af77f2dbf0833a31 100644 (file)
@@ -492,7 +492,8 @@ void OBScreen::manageWindow(Window window)
   // reparented back to root automatically
   XChangeSaveSet(otk::OBDisplay::display, window, SetModeInsert);
 
-  if (!client->positionRequested()) {
+  if (!(Openbox::instance->state() == Openbox::State_Starting ||
+        client->positionRequested())) {
     // position the window intelligenty .. hopefully :)
     // call the python PLACEWINDOW binding
     EventData *data = new_event_data(_number, window, EventPlaceWindow, 0);
This page took 0.022141 seconds and 4 git commands to generate.