From c09fb9c5a12e75112978cac370e231234cda805f Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Sat, 2 Mar 2024 23:30:49 +0100 Subject: [PATCH] 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: --- src/compositor/meta-window-drag.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compositor/meta-window-drag.c b/src/compositor/meta-window-drag.c index 576bfb37c..0cdf1fb10 100644 --- a/src/compositor/meta-window-drag.c +++ b/src/compositor/meta-window-drag.c @@ -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;