X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Ftopblock.c;h=2db5638d5fd76c49b3d7ab5fd15f89938464fd8f;hp=f2161e439df63e4a3165b0ba63472503e9344aaa;hb=6b1c86cf395f59389e4ece4ea8f4bea2c332745b;hpb=07faf451b99879183ed7e909e43a0e065be1ee7f diff --git a/hacks/glx/topblock.c b/hacks/glx/topblock.c index f2161e43..2db5638d 100644 --- a/hacks/glx/topblock.c +++ b/hacks/glx/topblock.c @@ -1,4 +1,5 @@ -/* topblock, Copyright (c) 2006 rednuht +/* topblock, Copyright (c) 2006-2008 + * rednuht * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -847,7 +848,9 @@ topBlock_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 (tb->trackball, event->xbutton.button, 10, !!event->xbutton.state);