Fixed bug 1305 - mouse wheel scroll-down event created when mouse wheel is pressed down
Martin Schreiber 2011-09-15 06:08:38 PDT patch attached
This commit is contained in:
parent
0975880949
commit
0093511f82
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue