aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.cc
diff options
context:
space:
mode:
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 39b415b..e50913f 100644
--- a/src/WorkspaceCmd.cc
+++ b/src/WorkspaceCmd.cc
@@ -103,13 +103,13 @@ void DirFocusCmd::execute() {
103void NextWorkspaceCmd::execute() { 103void 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
109void PrevWorkspaceCmd::execute() { 109void 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
115void LeftWorkspaceCmd::execute() { 115void LeftWorkspaceCmd::execute() {