mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-02 12:04:41 +00:00
wayland: Set the cursor visibility flag when using the cursor shape protocol
This commit is contained in:
@@ -538,6 +538,7 @@ static int Wayland_ShowCursor(SDL_Cursor *cursor)
|
||||
if (!data->shmBuffer.shm_data) {
|
||||
if (input->cursor_shape) {
|
||||
Wayland_SetSystemCursorShape(input, data->system_cursor);
|
||||
input->cursor_visible = SDL_TRUE;
|
||||
return 0;
|
||||
} else if (!wayland_get_system_cursor(d, data, &scale)) {
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user