[client] x11: removed left behind ifdef for XINPUT

This commit is contained in:
Geoffrey McRae 2021-01-19 20:37:15 +11:00
parent f9faa0542b
commit 0bd1bb5075

View File

@ -222,7 +222,6 @@ static bool x11EventFilter(SDL_Event * event)
} }
return false; return false;
#if SDL_VIDEO_DRIVER_X11_XINPUT2
case SDL_KEYDOWN: case SDL_KEYDOWN:
case SDL_KEYUP: case SDL_KEYUP:
case SDL_MOUSEMOTION: case SDL_MOUSEMOTION:
@ -230,7 +229,6 @@ static bool x11EventFilter(SDL_Event * event)
case SDL_MOUSEBUTTONUP: case SDL_MOUSEBUTTONUP:
case SDL_MOUSEWHEEL: case SDL_MOUSEWHEEL:
return true; return true;
#endif
} }
if (event->type != SDL_SYSWMEVENT) if (event->type != SDL_SYSWMEVENT)