mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
SDL_x11events.c: fix build if Xinput2 is not available after 3dfc3b4c8
This commit is contained in:
parent
0556362c38
commit
693c75e36e
1 changed files with 2 additions and 0 deletions
|
|
@ -2036,7 +2036,9 @@ void X11_PumpEvents(SDL_VideoDevice *_this)
|
|||
}
|
||||
|
||||
if (data->xinput_hierarchy_changed) {
|
||||
#ifdef SDL_VIDEO_DRIVER_X11_XINPUT2
|
||||
X11_InitPen(_this);
|
||||
#endif
|
||||
X11_Xinput2UpdateDevices(_this, SDL_FALSE);
|
||||
data->xinput_hierarchy_changed = SDL_FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue