Explorar o código

x11: Fix #define name

Frank Praznik hai 3 meses
pai
achega
b181eb4ed0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/video/x11/SDL_x11xinput2.c

+ 1 - 1
src/video/x11/SDL_x11xinput2.c

@@ -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;