aboutsummaryrefslogtreecommitdiff
path: root/src/Window.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/Window.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/Window.cc')
-rw-r--r--src/Window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index d16815c..a29ea77 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -283,7 +283,7 @@ FluxboxWindow::FluxboxWindow(WinClient &client, FbWinFrameTheme &tm,
283 283
284 // add the window to the focus list 284 // add the window to the focus list
285 // always add to front on startup to keep the focus order the same 285 // always add to front on startup to keep the focus order the same
286 if (screen().focusControl().focusNew() || Fluxbox::instance()->isStartup()) 286 if (m_focused || Fluxbox::instance()->isStartup())
287 screen().focusControl().addFocusWinFront(*this); 287 screen().focusControl().addFocusWinFront(*this);
288 else 288 else
289 screen().focusControl().addFocusWinBack(*this); 289 screen().focusControl().addFocusWinBack(*this);