X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fjuggler3d.c;h=8e4c98d43b854075ffa5dfd39a9c5da4de9b02cc;hp=3a3705179a59dcab59a98a86143038125a774a90;hb=6b1c86cf395f59389e4ece4ea8f4bea2c332745b;hpb=488f2fa8fbdbc77e91a70da2962d73af49e6cace diff --git a/hacks/glx/juggler3d.c b/hacks/glx/juggler3d.c index 3a370517..8e4c98d4 100644 --- a/hacks/glx/juggler3d.c +++ b/hacks/glx/juggler3d.c @@ -1,4 +1,4 @@ -/* Juggler3D, Copyright (c) 2005 Brian Apps +/* Juggler3D, Copyright (c) 2005-2008 Brian Apps * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -2101,7 +2101,9 @@ ENTRYPOINT Bool juggler3d_handle_event(ModeInfo* mi, XEvent* pEvent) } else if (pEvent->xany.type == ButtonPress && (pEvent->xbutton.button == Button4 || - pEvent->xbutton.button == Button5)) + pEvent->xbutton.button == Button5 || + pEvent->xbutton.button == Button6 || + pEvent->xbutton.button == Button7)) { gltrackball_mousewheel (pState->trackball, pEvent->xbutton.button, 2, !pEvent->xbutton.state);