Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed bug 1305 - mouse wheel scroll-down event created when mouse whe…

…el is pressed down

Martin Schreiber 2011-09-15 06:08:38 PDT

patch attached
  • Loading branch information
slouken committed Jan 8, 2012
1 parent 1470f3d commit 91dfe958a0cc83e4b7dd582686e9054fa914c22d

File 1 of 1 in 91dfe95

@@ -83,7 +83,7 @@ static SDL_bool X11_IsWheelEvent(Display * display,XEvent * event,int * ticks)
if (event->xbutton.button == Button4) {
*ticks = 1;
}
else {
else if (event->xbutton.button == Button5) {
*ticks = -1;
}

0 comments on commit 91dfe95

Please sign in to comment.