mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-25 15:48:58 +00:00
x11: Remove unused function parameter
This commit is contained in:
@@ -137,7 +137,7 @@ static SDL_Window *xinput2_get_sdlwindow(SDL_VideoData *videodata, Window window
|
||||
}
|
||||
|
||||
#ifdef SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_SCROLLINFO
|
||||
static void xinput2_reset_scrollable_valuators(SDL_VideoData *videodata)
|
||||
static void xinput2_reset_scrollable_valuators()
|
||||
{
|
||||
for (int i = 0; i < scrollable_device_count; ++i) {
|
||||
for (int j = 0; j < scrollable_devices[i].scroll_info_count; ++j) {
|
||||
@@ -630,7 +630,7 @@ void X11_HandleXinput2Event(SDL_VideoDevice *_this, XGenericEventCookie *cookie)
|
||||
|
||||
#ifdef SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_SCROLLINFO
|
||||
case XI_Enter:
|
||||
xinput2_reset_scrollable_valuators(videodata);
|
||||
xinput2_reset_scrollable_valuators();
|
||||
break;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user