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:
parent
fb890ead96
commit
c09fb9c5a1
@ -334,6 +334,8 @@ meta_cursor_for_grab_op (MetaGrabOp op)
|
|||||||
return META_CURSOR_EAST_RESIZE;
|
return META_CURSOR_EAST_RESIZE;
|
||||||
break;
|
break;
|
||||||
case META_GRAB_OP_MOVING:
|
case META_GRAB_OP_MOVING:
|
||||||
|
return META_CURSOR_DEFAULT;
|
||||||
|
break;
|
||||||
case META_GRAB_OP_KEYBOARD_MOVING:
|
case META_GRAB_OP_KEYBOARD_MOVING:
|
||||||
case META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN:
|
case META_GRAB_OP_KEYBOARD_RESIZING_UNKNOWN:
|
||||||
return META_CURSOR_MOVE_OR_RESIZE_WINDOW;
|
return META_CURSOR_MOVE_OR_RESIZE_WINDOW;
|
||||||
|
Loading…
Reference in New Issue
Block a user