X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fglknots.c;h=c02e16cac44a12eba5fe1018768e4848fd87d47c;hp=f12e4348dae948c7d0dabfbb49825eb8e7633f0f;hb=6b1c86cf395f59389e4ece4ea8f4bea2c332745b;hpb=488f2fa8fbdbc77e91a70da2962d73af49e6cace diff --git a/hacks/glx/glknots.c b/hacks/glx/glknots.c index f12e4348..c02e16ca 100644 --- a/hacks/glx/glknots.c +++ b/hacks/glx/glknots.c @@ -1,4 +1,4 @@ -/* glknots, Copyright (c) 2003-2007 Jamie Zawinski +/* glknots, Copyright (c) 2003-2008 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -244,7 +244,9 @@ knot_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, 5, !!event->xbutton.state);