]> Dogcows Code - chaz/openbox/blobdiff - src/screen.cc
don't place the window magically if we're starting (the window was already placed)
[chaz/openbox] / 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.021403 seconds and 4 git commands to generate.