mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 13:10:07 +00:00
Merge branch 'default-cursor-xdg' into 'main'
wayland: Look for default cursor theme in XDG directories See merge request GNOME/gtk!7766
This commit is contained in:
commit
8c46df425e
@ -1131,6 +1131,9 @@ get_cursor_theme (GdkWaylandDisplay *display_wayland,
|
||||
return theme;
|
||||
}
|
||||
|
||||
if (strcmp (name, "default") != 0)
|
||||
return get_cursor_theme (display_wayland, "default", size);
|
||||
|
||||
/* This may fall back to builtin cursors */
|
||||
return wl_cursor_theme_create ("/usr/share/icons/default/cursors", size, display_wayland->shm);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user