call the place window routine after the frame is created
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
src/screen.cc
→
src/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);