X11: only send mouse button up events if not a mousewheel "button"

(Brackets in the wrong place, my bad!)
Ryan C. Gordon 2015-08-13 21:40:32 -04:00
parent 874bf86504
commit f2f8e6f5ef
1 changed files with 1 additions and 1 deletions

View File

@ -1029,8 +1029,8 @@ X11_DispatchEvent(_THIS)
/* see explanation at case ButtonPress */
button -= (8-SDL_BUTTON_X1);
}
SDL_SendMouseButton(data->window, 0, SDL_RELEASED, button);
}
SDL_SendMouseButton(data->window, 0, SDL_RELEASED, button);
}
break;