diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-29 05:25:30 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-29 05:25:30 +0000 |
| commit | f61a455ec1704d305d8643b8215c8e0647f4c869 (patch) | |
| tree | 375e86707899717eda8e1f9c2c3d040d306ceb7b | |
| parent | 03f9d6170bd97dbbb968746f2841d9fa5cb3e977 (diff) | |
get the window's title before adding it to the workspace, since the workspace menu wants that title
| -rw-r--r-- | src/Window.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index 769e036f..14505a36 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -260,6 +260,10 @@ BlackboxWindow::BlackboxWindow(Blackbox *b, Window w, BScreen *s) { if (blackbox->hasShapeExtensions() && flags.shaped) configureShape(); #endif // SHAPE + + // get the window's title before adding it to the workspace + getWMName(); + getWMIconName(); if (blackbox_attrib.workspace >= screen->getWorkspaceCount()) screen->getCurrentWorkspace()->addWindow(this, place_window); @@ -448,8 +452,6 @@ Window BlackboxWindow::createChildWindow(Window parent, Cursor cursor) { void BlackboxWindow::associateClientWindow(void) { XSetWindowBorderWidth(blackbox->getXDisplay(), client.window, 0); - getWMName(); - getWMIconName(); XChangeSaveSet(blackbox->getXDisplay(), client.window, SetModeInsert); |
