projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.08.tar.gz
[xscreensaver]
/
hacks
/
glx
/
lavalite.c
diff --git
a/hacks/glx/lavalite.c
b/hacks/glx/lavalite.c
index ce614a6aa8a0d391e7978166c2e9151a6b3b3acd..e2697a63f224aeede7476bea9c114ffd75ba9c97 100644
(file)
--- a/
hacks/glx/lavalite.c
+++ b/
hacks/glx/lavalite.c
@@
-1260,7
+1260,9
@@
lavalite_handle_event (ModeInfo *mi, XEvent *event)
}
else if (event->xany.type == ButtonPress &&
(event->xbutton.button == Button4 ||
}
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);
{
gltrackball_mousewheel (bp->trackball, event->xbutton.button, 5,
!!event->xbutton.state);
@@
-1411,7
+1413,7
@@
init_lavalite (ModeInfo *mi)
gltrackball_track (bp->trackball, 50, 5, 100, 100);
/* Oh, but if it's the "Giant" model, tilt the scene away: make it
gltrackball_track (bp->trackball, 50, 5, 100, 100);
/* Oh, but if it's the "Giant" model, tilt the scene away: make it
- look like we're looking up at it instead of
od
wn at it! */
+ look like we're looking up at it instead of
do
wn at it! */
if (bp->style == GIANT)
gltrackball_track (bp->trackball, 50, -12, 100, 100);
else if (bp->style == ROCKET) /* same for rocket, but not as much */
if (bp->style == GIANT)
gltrackball_track (bp->trackball, 50, -12, 100, 100);
else if (bp->style == ROCKET) /* same for rocket, but not as much */