From b181eb4ed0e117083e86b66e538492c815c8f899 Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Fri, 17 Apr 2026 10:28:50 -0400 Subject: [PATCH] x11: Fix #define name --- src/video/x11/SDL_x11xinput2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/x11/SDL_x11xinput2.c b/src/video/x11/SDL_x11xinput2.c index 3a94c6a1f0..c099589591 100644 --- a/src/video/x11/SDL_x11xinput2.c +++ b/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;