From: Tobias K. <kla...@tu...> - 2002-10-28 11:53:25
|
Hi! (this goes to the -user list only, the -devel people will probably be smart enough to figure it out themselves) [... mouse wheel strangeness ...] I personally was annyoed by this behaviour enough to have a shot at reversing it (The Right Thing would be to make it configurable, though). It's pretty easy. This is, what I did: Unpack your fave fluxbox version and change into the created directory. In src/fluxbox.cc there are those lines: } else if (screen->isDesktopWheeling() && be.button == 4) { screen->nextWorkspace(1); } else if (screen->isDesktopWheeling() && be.button == 5) { screen->prevWorkspace(1); (you should find them by searching for "Wheel" case sensitively). Those two lines need to be logically reversed. As the button numbers are 4 and 5 for the two scrollwheel directions, we'll just swap them: } else if (screen->isDesktopWheeling() && be.button == 5) { screen->nextWorkspace(1); } else if (screen->isDesktopWheeling() && be.button == 4) { Save the file. ./configure, make, make install. Restart fluxbox. Voila! Hope this helps, Tobias -- A program that can't tolerate empty input vastly overestimates the real world's interest in what it's doing. (Tim Peters in comp.lang.python) |