diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-17 07:04:30 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-17 07:04:30 +0000 |
| commit | 48741b97c229dc6515fcf8e06bc4da47f9abab72 (patch) | |
| tree | 21cfe01c4b2b2dd84c162d3b70a9b45122c6ff3b /src | |
| parent | 6f0581627ad9e08bb0345c1f6e55dd64a113405b (diff) | |
call the place window routine after the frame is created
Diffstat (limited to 'src')
| -rw-r--r-- | src/screen.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen.cc b/src/screen.cc index 498c9c86..1033f8d8 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -471,6 +471,9 @@ void Screen::manageWindow(Window window) // 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 :) @@ -479,9 +482,6 @@ void Screen::manageWindow(Window window) 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); openbox->addClient(client->frame->plate(), client); |
