all repos — openbox @ 5cc40ecc8f4ae3c875d61b3e844c22c89c019c58

openbox fork - make it a bit more like ryudo

call the place routine after the window is grabbed
Dana Jansens danakj@orodu.net
commit

5cc40ecc8f4ae3c875d61b3e844c22c89c019c58

parent

48741b97c229dc6515fcf8e06bc4da47f9abab72

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

jump to
M src/screen.ccsrc/screen.cc

@@ -474,14 +474,6 @@

// create the decoration frame for the client window client->frame = new Frame(client, &_style); - if (!(openbox->state() == Openbox::State_Starting || - client->positionRequested())) { - // position the window intelligenty .. hopefully :) - // call the python PLACEWINDOW binding - EventData data(_number, client, EventPlaceWindow, 0); - openbox->bindings()->fireEvent(&data); - } - // add to the wm's map openbox->addClient(client->frame->window(), client); openbox->addClient(client->frame->plate(), client);

@@ -497,6 +489,14 @@ openbox->addClient(client->frame->grip_right(), client);

// reparent the client to the frame client->frame->grabClient(); + + if (!(openbox->state() == Openbox::State_Starting || + client->positionRequested())) { + // position the window intelligenty .. hopefully :) + // call the python PLACEWINDOW binding + EventData data(_number, client, EventPlaceWindow, 0); + openbox->bindings()->fireEvent(&data); + } // if on the current desktop.. (or all desktops) if (client->desktop() == _desktop ||