diff options
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r-- | src/FocusControl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index 48ae36f..6f919ef 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -86,7 +86,8 @@ void FocusControl::cycleFocus(int opts, bool cycle_reverse) { | |||
86 | 86 | ||
87 | FocusedWindows *window_list = (opts & CYCLELINEAR) ? &m_creation_order_list : &m_focused_list; | 87 | FocusedWindows *window_list = (opts & CYCLELINEAR) ? &m_creation_order_list : &m_focused_list; |
88 | if (!m_cycling_focus) { | 88 | if (!m_cycling_focus) { |
89 | m_cycling_focus = true; | 89 | if (Fluxbox::instance()->watchingScreen()) |
90 | m_cycling_focus = true; | ||
90 | if (opts & CYCLELINEAR) { | 91 | if (opts & CYCLELINEAR) { |
91 | m_cycling_creation_order = true; | 92 | m_cycling_creation_order = true; |
92 | m_cycling_window = find(window_list->begin(),window_list->end(),s_focused_window); | 93 | m_cycling_window = find(window_list->begin(),window_list->end(),s_focused_window); |