[client] x11: prevent default mouse button/wheel handling by SDL

This commit is contained in:
Geoffrey McRae 2021-01-17 14:38:31 +11:00
parent 41a0cfe516
commit bab7eba7f0

View File

@ -209,6 +209,9 @@ static bool x11EventFilter(SDL_Event * event)
#if SDL_VIDEO_DRIVER_X11_XINPUT2
case SDL_MOUSEMOTION:
case SDL_MOUSEBUTTONDOWN:
case SDL_MOUSEBUTTONUP:
case SDL_MOUSEWHEEL:
return true;
#endif
}