X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fmoebius.c;h=1620e41fd4774a26b41544eaa992dd63116518bf;hb=c1b9b55ad8d59dc05ef55e316aebf5863e7dfa56;hp=f99d9651aebf20320aa17b02f9cd328e8ca78fd9;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/glx/moebius.c b/hacks/glx/moebius.c index f99d9651..1620e41f 100644 --- a/hacks/glx/moebius.c +++ b/hacks/glx/moebius.c @@ -82,6 +82,7 @@ static const char sccsid[] = "@(#)moebius.c 5.01 2001/03/01 xlockmore"; # define refresh_moebius 0 # define DEFAULTS "*delay: 20000 \n" \ "*showFPS: False \n" + # include "xlockmore.h" /* from the xscreensaver distribution */ #else /* !STANDALONE */ # include "xlock.h" /* from the xlockmore distribution */ @@ -626,7 +627,9 @@ moebius_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 (mp->trackball, event->xbutton.button, 10, !!event->xbutton.state);