aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/WorkspaceCmd.cc')
-rw-r--r--src/WorkspaceCmd.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/WorkspaceCmd.cc b/src/WorkspaceCmd.cc
index 2ced53f..204d1b9 100644
--- a/src/WorkspaceCmd.cc
+++ b/src/WorkspaceCmd.cc
@@ -54,8 +54,7 @@ void NextWindowCmd::execute() {
54 else { 54 else {
55 // if stacked cycling, then set a watch for 55 // if stacked cycling, then set a watch for
56 // the release of exactly these modifiers 56 // the release of exactly these modifiers
57 if (screen != fb->watchingScreen()) 57 Fluxbox::instance()->watchKeyRelease(*screen, mods);
58 Fluxbox::instance()->watchKeyRelease(*screen, mods);
59 screen->focusControl().nextFocus(m_option); 58 screen->focusControl().nextFocus(m_option);
60 } 59 }
61 } else 60 } else
@@ -76,8 +75,7 @@ void PrevWindowCmd::execute() {
76 else { 75 else {
77 // if stacked cycling, then set a watch for 76 // if stacked cycling, then set a watch for
78 // the release of exactly these modifiers 77 // the release of exactly these modifiers
79 if (screen != fb->watchingScreen()) 78 Fluxbox::instance()->watchKeyRelease(*screen, mods);
80 Fluxbox::instance()->watchKeyRelease(*screen, mods);
81 screen->focusControl().prevFocus(m_option); 79 screen->focusControl().prevFocus(m_option);
82 } 80 }
83 } else 81 } else