diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-09-28 08:26:21 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-09-28 08:26:21 (GMT) |
commit | 04a1d2a83b96eb6d1b1958e4f3e25ffdf295aa4d (patch) | |
tree | efeb502c24025cd090629ae36d330fa882a41403 /src/FocusControl.cc | |
parent | c8022b3bdb90259352d08838576e98b559a9db68 (diff) | |
download | fluxbox_pavel-04a1d2a83b96eb6d1b1958e4f3e25ffdf295aa4d.zip fluxbox_pavel-04a1d2a83b96eb6d1b1958e4f3e25ffdf295aa4d.tar.bz2 |
don't let KeyRelease events propagate to windows
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; |