diff options
Diffstat (limited to 'src/WorkspaceCmd.cc')
-rw-r--r-- | src/WorkspaceCmd.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorkspaceCmd.cc b/src/WorkspaceCmd.cc index 39b415b..e50913f 100644 --- a/src/WorkspaceCmd.cc +++ b/src/WorkspaceCmd.cc | |||
@@ -103,13 +103,13 @@ void DirFocusCmd::execute() { | |||
103 | void NextWorkspaceCmd::execute() { | 103 | void NextWorkspaceCmd::execute() { |
104 | BScreen *screen = Fluxbox::instance()->mouseScreen(); | 104 | BScreen *screen = Fluxbox::instance()->mouseScreen(); |
105 | if (screen != 0) | 105 | if (screen != 0) |
106 | screen->nextWorkspace(); | 106 | screen->nextWorkspace(m_option == 0 ? 1 : m_option); |
107 | } | 107 | } |
108 | 108 | ||
109 | void PrevWorkspaceCmd::execute() { | 109 | void PrevWorkspaceCmd::execute() { |
110 | BScreen *screen = Fluxbox::instance()->mouseScreen(); | 110 | BScreen *screen = Fluxbox::instance()->mouseScreen(); |
111 | if (screen != 0) | 111 | if (screen != 0) |
112 | screen->prevWorkspace(); | 112 | screen->prevWorkspace(m_option == 0 ? 1 : m_option); |
113 | } | 113 | } |
114 | 114 | ||
115 | void LeftWorkspaceCmd::execute() { | 115 | void LeftWorkspaceCmd::execute() { |