From: Dana Jansens Date: Tue, 7 Jan 2003 06:56:57 +0000 (+0000) Subject: don't place the window magically if we're starting (the window was already placed) X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=a132968424c96d9dc62d144c5e863a6810c0369d;p=chaz%2Fopenbox don't place the window magically if we're starting (the window was already placed) --- diff --git a/src/screen.cc b/src/screen.cc index f7587abc..2dcc110f 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -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);