aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-07-14 06:00:37 (GMT)
committermarkt <markt>2006-07-14 06:00:37 (GMT)
commitfde970a21d62756cdbca1fe5acd75386b251814c (patch)
tree795f1415d22eb4131d8d602c0b4f56a6821a8df2 /src/WorkspaceCmd.cc
parentd32a7af7e6540221edbf43cee7b89a36e0755a66 (diff)
downloadfluxbox_pavel-fde970a21d62756cdbca1fe5acd75386b251814c.zip
fluxbox_pavel-fde970a21d62756cdbca1fe5acd75386b251814c.tar.bz2
include iconic windows when cycling
also, stop cycling on one screen when cycling begins on another
Diffstat (limited to 'src/WorkspaceCmd.cc')
-rw-r--r--src/WorkspaceCmd.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorkspaceCmd.cc b/src/WorkspaceCmd.cc
index 5b5b607..800a672 100644
--- a/src/WorkspaceCmd.cc
+++ b/src/WorkspaceCmd.cc
@@ -55,7 +55,7 @@ void NextWindowCmd::execute() {
55 else { 55 else {
56 // if stacked cycling, then set a watch for 56 // if stacked cycling, then set a watch for
57 // the release of exactly these modifiers 57 // the release of exactly these modifiers
58 if (!fb->watchingScreen()) 58 if (screen != fb->watchingScreen())
59 Fluxbox::instance()->watchKeyRelease(*screen, mods); 59 Fluxbox::instance()->watchKeyRelease(*screen, mods);
60 screen->focusControl().nextFocus(m_option); 60 screen->focusControl().nextFocus(m_option);
61 } 61 }
@@ -77,7 +77,7 @@ void PrevWindowCmd::execute() {
77 else { 77 else {
78 // if stacked cycling, then set a watch for 78 // if stacked cycling, then set a watch for
79 // the release of exactly these modifiers 79 // the release of exactly these modifiers
80 if (!fb->watchingScreen()) 80 if (screen != fb->watchingScreen())
81 Fluxbox::instance()->watchKeyRelease(*screen, mods); 81 Fluxbox::instance()->watchKeyRelease(*screen, mods);
82 screen->focusControl().prevFocus(m_option); 82 screen->focusControl().prevFocus(m_option);
83 } 83 }