all repos — openbox @ a132968424c96d9dc62d144c5e863a6810c0369d

openbox fork - make it a bit more like ryudo

don't place the window magically if we're starting (the window was already placed)
Dana Jansens danakj@orodu.net
commit

a132968424c96d9dc62d144c5e863a6810c0369d

parent

7990e6fc46c4a73139cb59e2d17df37ff1fe4e0a

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/screen.ccsrc/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);