]> git.pld-linux.org Git - packages/fluxbox.git/blob - fluxbox-wheel_direction.patch
- updated to 0.9.14
[packages/fluxbox.git] / fluxbox-wheel_direction.patch
1 diff -ur fluxbox.orig/src/fluxbox.cc fluxbox/src/fluxbox.cc
2 --- fluxbox.orig/src/fluxbox.cc 2004-07-16 03:47:46.000000000 +0200
3 +++ fluxbox/src/fluxbox.cc      2004-08-06 19:34:54.569424376 +0200
4 @@ -1146,9 +1146,9 @@
5                  screen->getRootmenu().grabInputFocus();
6              }
7          } else if (screen->isDesktopWheeling() && be.button == 4) {
8 -            screen->nextWorkspace(1);
9 -        } else if (screen->isDesktopWheeling() && be.button == 5) {
10              screen->prevWorkspace(1);
11 +        } else if (screen->isDesktopWheeling() && be.button == 5) {
12 +            screen->nextWorkspace(1);
13          }
14          
15      } break;
16 diff -ur fluxbox.orig/src/Toolbar.cc fluxbox/src/Toolbar.cc
17 --- fluxbox.orig/src/Toolbar.cc 2004-07-15 18:11:58.000000000 +0200
18 +++ fluxbox/src/Toolbar.cc      2004-08-06 19:35:09.766114128 +0200
19 @@ -504,9 +504,9 @@
20      if (re.button == 1)
21          raise();
22      else if (re.button == 4) //mousewheel scroll up
23 -        screen().nextWorkspace(1);
24 -    else if (re.button == 5)   //mousewheel scroll down
25          screen().prevWorkspace(1);
26 +    else if (re.button == 5)   //mousewheel scroll down
27 +        screen().nextWorkspace(1);
28  }
29  
30  void Toolbar::enterNotifyEvent(XCrossingEvent &not_used) {
This page took 0.110725 seconds and 3 git commands to generate.