aboutsummaryrefslogtreecommitdiff
path: root/src/FocusControl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FocusControl.cc')
-rw-r--r--src/FocusControl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FocusControl.cc b/src/FocusControl.cc
index 9c531bb..ce46dcc 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;