get the window's title before adding it to the workspace, since the workspace menu wants that title
Dana Jansens danakj@orodu.net
1 files changed,
4 insertions(+),
2 deletions(-)
jump to
M
src/Window.cc
→
src/Window.cc
@@ -260,6 +260,10 @@ #ifdef SHAPE
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 @@
void BlackboxWindow::associateClientWindow(void) { XSetWindowBorderWidth(blackbox->getXDisplay(), client.window, 0); - getWMName(); - getWMIconName(); XChangeSaveSet(blackbox->getXDisplay(), client.window, SetModeInsert);