From 8f4bf837b4478790bc7d610bc917285151805e9e Mon Sep 17 00:00:00 2001 From: Ningyuan Li Date: Thu, 9 Nov 2023 15:45:51 +0900 Subject: [PATCH] fixing CI build --- src/video/wayland/SDL_waylandmouse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/wayland/SDL_waylandmouse.c b/src/video/wayland/SDL_waylandmouse.c index 2f9c00f5609308..cc449638b18048 100644 --- a/src/video/wayland/SDL_waylandmouse.c +++ b/src/video/wayland/SDL_waylandmouse.c @@ -738,7 +738,9 @@ void Wayland_InitMouse(void) mouse->WarpMouse = Wayland_WarpMouse; mouse->WarpMouseGlobal = Wayland_WarpMouseGlobal; mouse->SetRelativeMouseMode = Wayland_SetRelativeMouseMode; +#if SDL_VIDEO_DRIVER_WAYLAND_WEBOS mouse->WebOSSetCursorVisibility = WaylandWebOS_SetCursorVisibility; +#endif /* SDL_VIDEO_DRIVER_WAYLAND_WEBOS */ input->relative_mode_override = SDL_FALSE; input->cursor_visible = SDL_TRUE;