aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-05-08 10:14:51 (GMT)
committerfluxgen <fluxgen>2002-05-08 10:14:51 (GMT)
commitb53183cfe3c2a300ccec08b6912e416ae0cbb97b (patch)
treee5ff7954d3eaddc5dc11aa7844c41f91558d5694 /src/fluxbox.cc
parent1f5c8b5ba118c3700f0aac8652f400bf316a97b9 (diff)
downloadfluxbox_pavel-b53183cfe3c2a300ccec08b6912e416ae0cbb97b.zip
fluxbox_pavel-b53183cfe3c2a300ccec08b6912e416ae0cbb97b.tar.bz2
added desktopwheeling option
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index f61eca2..d4aefa2 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.cc,v 1.56 2002/05/08 09:33:11 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.57 2002/05/08 10:14:51 fluxgen Exp $
26 26
27//Use GNU extensions 27//Use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -973,9 +973,9 @@ void Fluxbox::handleButtonEvent(XButtonEvent &be) {
973 checkMenu(); 973 checkMenu();
974 screen->getRootmenu()->show(); 974 screen->getRootmenu()->show();
975 } 975 }
976 } else if (be.button == 4) { 976 } else if (screen->isDesktopWheeling() && be.button == 4) {
977 screen->nextWorkspace(1); 977 screen->nextWorkspace(1);
978 } else if (be.button == 5) { 978 } else if (screen->isDesktopWheeling() && be.button == 5) {
979 screen->prevWorkspace(1); 979 screen->prevWorkspace(1);
980 } 980 }
981 } 981 }