diff options
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r-- | src/FocusControl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc index 6533ac1..8a49273 100644 --- a/src/FocusControl.cc +++ b/src/FocusControl.cc | |||
@@ -91,7 +91,7 @@ void FocusControl::cycleFocus(const FocusableList &window_list, | |||
91 | const ClientPattern *pat, bool cycle_reverse) { | 91 | const ClientPattern *pat, bool cycle_reverse) { |
92 | 92 | ||
93 | if (!m_cycling_list) { | 93 | if (!m_cycling_list) { |
94 | if (&m_screen == FbTk::EventManager::instance()->grabbingKeyboard()) | 94 | if (m_screen.isCycling()) |
95 | // only set this when we're waiting for modifiers | 95 | // only set this when we're waiting for modifiers |
96 | m_cycling_list = &window_list; | 96 | m_cycling_list = &window_list; |
97 | m_was_iconic = 0; | 97 | m_was_iconic = 0; |