Fall back to the 'default' cursor
The Adwaita cursor theme is moving to shipping just standard cursor names, so we should fall back to 'default' instead of 'left_ptr' if a named cursor can't be found. Fixes: #6259
This commit is contained in:
@ -161,7 +161,7 @@ _gdk_wayland_cursor_update (GdkWaylandDisplay *display_wayland,
|
||||
{
|
||||
c = wl_cursor_theme_get_cursor (theme, name_fallback (cursor->name));
|
||||
if (!c)
|
||||
c = wl_cursor_theme_get_cursor (theme, "left_ptr");
|
||||
c = wl_cursor_theme_get_cursor (theme, "default");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user