aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2007-01-27 22:11:22 (GMT)
committermarkt <markt>2007-01-27 22:11:22 (GMT)
commitde9ac128956c08aef22e68306c4f3fdcfde0221d (patch)
treee113e6ed8a6795c90abf954455932ecf072455f5 /src
parentbbcfc75cc9eb8cf560b7a4f5f87487f73f45de20 (diff)
downloadfluxbox_paul-de9ac128956c08aef22e68306c4f3fdcfde0221d.zip
fluxbox_paul-de9ac128956c08aef22e68306c4f3fdcfde0221d.tar.bz2
another little fix
Diffstat (limited to 'src')
-rw-r--r--src/FocusControl.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index 29a1b8b..15fa0fc 100644
--- a/src/FocusControl.cc
+++ b/src/FocusControl.cc
@@ -249,7 +249,9 @@ void FocusControl::setScreenFocusedWindow(WinClient &win_client) {
249 249
250 // raise newly focused window to the top of the focused list 250 // raise newly focused window to the top of the focused list
251 // don't change the order if we're cycling or shutting down 251 // don't change the order if we're cycling or shutting down
252 if (!isCycling() && !m_screen.isShuttingdown() && !s_reverting) { 252 // don't change on startup, as it may add windows that aren't listed yet
253 if (!isCycling() && !m_screen.isShuttingdown() && !s_reverting &&
254 !Fluxbox::instance()->isStartup()) {
253 m_focused_list.remove(&win_client); 255 m_focused_list.remove(&win_client);
254 m_focused_list.push_front(&win_client); 256 m_focused_list.push_front(&win_client);
255 m_cycling_window = m_focused_list.begin(); 257 m_cycling_window = m_focused_list.begin();