aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-25 17:14:20 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-25 17:14:20 (GMT)
commit7ace5e80be863a6d9e4170fc76ba157312e890d5 (patch)
treea1cf5ae24fbc8b67a9db9ee3651c255b6f82b622 /src/Screen.cc
parent35d1017959512acd9c2547d0eef76d73660c972e (diff)
downloadfluxbox-7ace5e80be863a6d9e4170fc76ba157312e890d5.zip
fluxbox-7ace5e80be863a6d9e4170fc76ba157312e890d5.tar.bz2
don't add new windows to front of focus list if they don't acquire the focus
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index afbd90f..97ce70b 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1345,7 +1345,7 @@ FluxboxWindow *BScreen::createWindow(Window client) {
1345 1345
1346 // add the window to the focus list 1346 // add the window to the focus list
1347 // always add to front on startup to keep the focus order the same 1347 // always add to front on startup to keep the focus order the same
1348 if (focusControl().focusNew() || Fluxbox::instance()->isStartup()) 1348 if (win->isFocused() || Fluxbox::instance()->isStartup())
1349 focusControl().addFocusFront(*winclient); 1349 focusControl().addFocusFront(*winclient);
1350 else 1350 else
1351 focusControl().addFocusBack(*winclient); 1351 focusControl().addFocusBack(*winclient);