don't place the window magically if we're starting (the window was already placed)
This commit is contained in:
parent
7990e6fc46
commit
a132968424
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue