Skip to content

Commit 14aa5cf

Browse files
committed
x11: Remove unused function parameter
1 parent 69255b8 commit 14aa5cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/video/x11/SDL_x11xinput2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static SDL_Window *xinput2_get_sdlwindow(SDL_VideoData *videodata, Window window
137137
}
138138

139139
#ifdef SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_SCROLLINFO
140-
static void xinput2_reset_scrollable_valuators(SDL_VideoData *videodata)
140+
static void xinput2_reset_scrollable_valuators()
141141
{
142142
for (int i = 0; i < scrollable_device_count; ++i) {
143143
for (int j = 0; j < scrollable_devices[i].scroll_info_count; ++j) {
@@ -630,7 +630,7 @@ void X11_HandleXinput2Event(SDL_VideoDevice *_this, XGenericEventCookie *cookie)
630630

631631
#ifdef SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_SCROLLINFO
632632
case XI_Enter:
633-
xinput2_reset_scrollable_valuators(videodata);
633+
xinput2_reset_scrollable_valuators();
634634
break;
635635
#endif
636636

0 commit comments

Comments
 (0)