mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-25 21:08:11 +00:00
[client] x11: prevent default mouse button/wheel handling by SDL
This commit is contained in:
parent
41a0cfe516
commit
bab7eba7f0
1 changed files with 3 additions and 0 deletions
|
@ -209,6 +209,9 @@ static bool x11EventFilter(SDL_Event * event)
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_X11_XINPUT2
|
#if SDL_VIDEO_DRIVER_X11_XINPUT2
|
||||||
case SDL_MOUSEMOTION:
|
case SDL_MOUSEMOTION:
|
||||||
|
case SDL_MOUSEBUTTONDOWN:
|
||||||
|
case SDL_MOUSEBUTTONUP:
|
||||||
|
case SDL_MOUSEWHEEL:
|
||||||
return true;
|
return true;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue