summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index f399717..44171be 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1449,9 +1449,12 @@ FluxboxWindow *BScreen::createWindow(Window client) {
1449 } else { 1449 } else {
1450 1450
1451 Fluxbox::instance()->attachSignals(*winclient); 1451 Fluxbox::instance()->attachSignals(*winclient);
1452 if (winclient->fbwindow()) // may have been set in an atomhandler 1452 if (winclient->fbwindow()) { // may have been set in an atomhandler
1453 win = winclient->fbwindow(); 1453 win = winclient->fbwindow();
1454 else { 1454 Workspace *workspace = getWorkspace(win->workspaceNumber());
1455 if (workspace)
1456 workspace->updateClientmenu();
1457 } else {
1455 win = new FluxboxWindow(*winclient, 1458 win = new FluxboxWindow(*winclient,
1456 winFrameTheme(), 1459 winFrameTheme(),
1457 *layerManager().getLayer(Layer::NORMAL)); 1460 *layerManager().getLayer(Layer::NORMAL));