compositor/drag: Use "default" cursor for moving windows

This is consistent with the DnD related cursor changes that also use the
"default" cursor for moving. The "move" cursor is kept for moving and
resizing windows using the keyboard since we currently have no other way
indicate this state.

See: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7425#note_2023057
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3634>
This commit is contained in:
Sebastian Keller 2024-03-02 23:30:49 +01:00 committed by Marge Bot
parent fb890ead96
commit c09fb9c5a1

View File

@ -334,6 +334,8 @@ meta_cursor_for_grab_op (MetaGrabOp op)
return META_CURSOR_EAST_RESIZE;
break;
case META_GRAB_OP_MOVING:
return META_CURSOR_DEFAULT;
break;
case META_GRAB_OP_KEYBOARD_MOVING:
case META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN:
return META_CURSOR_MOVE_OR_RESIZE_WINDOW;