aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 5fcd4fe..62eef50 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -940,9 +940,17 @@ void Fluxbox::handleButtonEvent(XButtonEvent &be) {
940 FbCommands::ShowRootMenuCmd cmd; 940 FbCommands::ShowRootMenuCmd cmd;
941 cmd.execute(); 941 cmd.execute();
942 } else if (screen->isDesktopWheeling() && be.button == 4) { 942 } else if (screen->isDesktopWheeling() && be.button == 4) {
943 screen->nextWorkspace(1); 943 if(screen->isReverseWheeling()) {
944 screen->prevWorkspace(1);
945 } else {
946 screen->nextWorkspace(1);
947 }
944 } else if (screen->isDesktopWheeling() && be.button == 5) { 948 } else if (screen->isDesktopWheeling() && be.button == 5) {
945 screen->prevWorkspace(1); 949 if(screen->isReverseWheeling()) {
950 screen->nextWorkspace(1);
951 } else {
952 screen->prevWorkspace(1);
953 }
946 } 954 }
947 955
948 } break; 956 } break;