diff options
author | markt <markt> | 2007-01-26 17:21:44 (GMT) |
---|---|---|
committer | markt <markt> | 2007-01-26 17:21:44 (GMT) |
commit | e35670d4a6a1ace394ff13cae39e41c2171b9054 (patch) | |
tree | 528bfabe69f61f2e664bb111661b90d2de9e8b94 /src/Screen.cc | |
parent | 46fff8bf344b31c2b4e0f777312bfad22a6fcd26 (diff) | |
download | fluxbox-e35670d4a6a1ace394ff13cae39e41c2171b9054.zip fluxbox-e35670d4a6a1ace394ff13cae39e41c2171b9054.tar.bz2 |
opening window on different workspace should put it at front of focused list with focusnew
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 8 |
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. |