don't place the window magically if we're starting (the window was already placed)
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
src/screen.cc
→
src/screen.cc
@@ -492,7 +492,8 @@ // specify that if we exit, the window should not be destroyed and should be
// 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);