aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 222f1fc..71e4c54 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1361,7 +1361,6 @@ FluxboxWindow *BScreen::createWindow(Window client) {
1361 if ((win = findGroupLeft(*winclient)) != 0) { 1361 if ((win = findGroupLeft(*winclient)) != 0) {
1362 win->attachClient(*winclient); 1362 win->attachClient(*winclient);
1363 Fluxbox::instance()->attachSignals(*winclient); 1363 Fluxbox::instance()->attachSignals(*winclient);
1364 focusControl().addFocusBack(*winclient);
1365 } else { 1364 } else {
1366 1365
1367 Fluxbox::instance()->attachSignals(*winclient); 1366 Fluxbox::instance()->attachSignals(*winclient);
@@ -1382,9 +1381,9 @@ FluxboxWindow *BScreen::createWindow(Window client) {
1382 // always put on end of focused list, if it gets focused it'll get pushed up 1381 // always put on end of focused list, if it gets focused it'll get pushed up
1383 // there is only the one win client at this stage 1382 // there is only the one win client at this stage
1384 if (focusControl().focusNew()) 1383 if (focusControl().focusNew())
1385 focusControl().addFocusFront(win->winClient()); 1384 focusControl().addFocusFront(*winclient);
1386 else 1385 else
1387 focusControl().addFocusBack(win->winClient()); 1386 focusControl().addFocusBack(*winclient);
1388 1387
1389 // we also need to check if another window expects this window to the left 1388 // we also need to check if another window expects this window to the left
1390 // and if so, then join it. 1389 // and if so, then join it.