mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 05:53:40 +00:00
[client] x11: prevent default mouse button/wheel handling by SDL
This commit is contained in:
parent
41a0cfe516
commit
bab7eba7f0
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user