don't place the window magically if we're starting (the window was already placed)

This commit is contained in:
Dana Jansens 2003-01-07 06:56:57 +00:00
parent 7990e6fc46
commit a132968424

View 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);