all repos — openbox @ 48741b97c229dc6515fcf8e06bc4da47f9abab72

openbox fork - make it a bit more like ryudo

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

48741b97c229dc6515fcf8e06bc4da47f9abab72

parent

6f0581627ad9e08bb0345c1f6e55dd64a113405b

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

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

@@ -471,6 +471,9 @@ // specify that if we exit, the window should not be destroyed and should be

// reparented back to root automatically XChangeSaveSet(**otk::display, window, SetModeInsert); + // 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 :)

@@ -478,9 +481,6 @@ // call the python PLACEWINDOW binding

EventData data(_number, client, EventPlaceWindow, 0); openbox->bindings()->fireEvent(&data); } - - // create the decoration frame for the client window - client->frame = new Frame(client, &_style); // add to the wm's map openbox->addClient(client->frame->window(), client);