mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-13 18:05:47 +00:00
x11: Remove unused function parameter
This commit is contained in:
parent
69255b870d
commit
14aa5cf762
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue