X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fglblur.c;h=7d358d127fdb09c908fb4200a4bc047c0eaba7b0;hp=193da13f3e85fffe4d5a80c178661546e956ddab;hb=6b1c86cf395f59389e4ece4ea8f4bea2c332745b;hpb=488f2fa8fbdbc77e91a70da2962d73af49e6cace diff --git a/hacks/glx/glblur.c b/hacks/glx/glblur.c index 193da13f..7d358d12 100644 --- a/hacks/glx/glblur.c +++ b/hacks/glx/glblur.c @@ -1,5 +1,5 @@ /* glblur --- radial blur using GL textures - * Copyright (c) 2002-2004 Jamie Zawinski + * Copyright (c) 2002-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 @@ -361,7 +361,9 @@ glblur_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);