aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 30cc4d3..7c0bed9 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1403,9 +1403,11 @@ FluxboxWindow *BScreen::createWindow(Window client) {
1403 } 1403 }
1404 } 1404 }
1405 1405
1406 // always put on end of focused list, if it gets focused it'll get pushed up 1406 // add the window to the focus list
1407 // there is only the one win client at this stage 1407 if (focusControl().focusNew())
1408 focusControl().addFocusBack(*winclient); 1408 focusControl().addFocusFront(*winclient);
1409 else
1410 focusControl().addFocusBack(*winclient);
1409 1411
1410 // we also need to check if another window expects this window to the left 1412 // we also need to check if another window expects this window to the left
1411 // and if so, then join it. 1413 // and if so, then join it.