backends: Update cursor names to match updated metaphors

adwaita-icon-theme updated its cursor metaphors and changed all DnD
cursors to use arrows instead of hands, except for the grab related
ones. Mutter was using "grabbing" as default DnD cursor, which now
does not match the other DnD cursors ("copy" and "no-drop") anymore.
Change this to the "default" cursor.

Additionally, because the "no-drop" cursor now puts a stronger emphasis
on the crossed out symbol also prefer "default" for
META_CURSOR_DND_IN_DRAG and only use "no-drop" for things that
explicitly don't accept a drop.

Related: https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/merge_requests/63
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3532>
This commit is contained in:
Sebastian Keller 2024-01-17 17:45:24 +01:00 committed by Marge Bot
parent af0ca0cdc2
commit f99c6badb9

View File

@ -72,9 +72,9 @@ translate_meta_cursor (MetaCursor cursor)
case META_CURSOR_BUSY:
return "wait";
case META_CURSOR_DND_IN_DRAG:
return "no-drop";
return "default";
case META_CURSOR_DND_MOVE:
return "grabbing";
return "default";
case META_CURSOR_DND_COPY:
return "copy";
case META_CURSOR_DND_UNSUPPORTED_TARGET: