We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1066ce commit aaa5d70Copy full SHA for aaa5d70
src/video/wayland/SDL_waylandmouse.c
@@ -1121,7 +1121,7 @@ void Wayland_SeatUpdateCursor(SDL_WaylandSeat *seat)
1121
SDL_Mouse *mouse = SDL_GetMouse();
1122
SDL_WindowData *pointer_focus = seat->pointer.focus;
1123
1124
- if (pointer_focus) {
+ if (pointer_focus && mouse->cursor_visible) {
1125
const bool has_relative_focus = Wayland_SeatHasRelativePointerFocus(seat);
1126
1127
if (!seat->display->relative_mode_enabled || !has_relative_focus || !mouse->relative_mode_hide_cursor) {
0 commit comments