mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-19 23:05:33 +02:00
x11: Fix #define name
This commit is contained in:
@@ -542,7 +542,7 @@ void X11_HandleXinput2Event(SDL_VideoDevice *_this, XGenericEventCookie *cookie)
|
||||
{
|
||||
const XIDeviceEvent *xev = (const XIDeviceEvent *)cookie->data;
|
||||
|
||||
#ifdef XINPUT2_USE_KEYBOARD
|
||||
#ifdef USE_XINPUT2_KEYBOARD
|
||||
SDL_WindowData *windowdata = X11_FindWindow(videodata, xev->event);
|
||||
XEvent xevent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user