aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceCmd.cc
diff options
context:
space:
mode:
authormathias <mathias>2006-03-09 19:38:18 (GMT)
committermathias <mathias>2006-03-09 19:38:18 (GMT)
commit70bd45e8e1c4b91676f80099aa87d11eeb3bf7d1 (patch)
tree50159f22f55eade81e9dc93b0159bff39d8fd0f7 /src/WorkspaceCmd.cc
parent918d1994fab393e88f422cf0e66875d2d77f7531 (diff)
downloadfluxbox-70bd45e8e1c4b91676f80099aa87d11eeb3bf7d1.zip
fluxbox-70bd45e8e1c4b91676f80099aa87d11eeb3bf7d1.tar.bz2
enhanced :NextWindow / :PrevWindow to accept <delta> as parameter, patch from marcus obst
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() {