X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fstonerview.c;h=dc578622d60f44a7008103397c53ce90e50249fd;hp=2aa5e129a5883cadaf3e8ebab0b5ae63065e6004;hb=6b1c86cf395f59389e4ece4ea8f4bea2c332745b;hpb=488f2fa8fbdbc77e91a70da2962d73af49e6cace diff --git a/hacks/glx/stonerview.c b/hacks/glx/stonerview.c index 2aa5e129..dc578622 100644 --- a/hacks/glx/stonerview.c +++ b/hacks/glx/stonerview.c @@ -149,7 +149,9 @@ stonerview_handle_event (ModeInfo *mi, XEvent *event) } else if (event->xany.type == ButtonPress && (event->xbutton.button == Button4 || - event->xbutton.button == Button5)) + event->xbutton.button == Button5 || + event->xbutton.button == Button6 || + event->xbutton.button == Button7)) { gltrackball_mousewheel (bp->trackball, event->xbutton.button, 10, !!event->xbutton.state);