From ae07ad5abe9d58572c03a55f6f94c3613bb6cdcd Mon Sep 17 00:00:00 2001 From: Leo Date: Sat, 28 Oct 2023 21:35:22 +0900 Subject: [PATCH] WindowClone: reset cursor early (#1786) --- src/Widgets/WindowClone.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Widgets/WindowClone.vala b/src/Widgets/WindowClone.vala index 14af8f69..cb5c2c8a 100644 --- a/src/Widgets/WindowClone.vala +++ b/src/Widgets/WindowClone.vala @@ -743,6 +743,8 @@ public class Gala.WindowClone : Clutter.Actor { active_shape.show (); + wm.get_display ().set_cursor (Meta.Cursor.DEFAULT); + if (destination is IconGroup) { workspace = ((IconGroup) destination).workspace; } else if (destination is FramedBackground) { @@ -803,8 +805,6 @@ public class Gala.WindowClone : Clutter.Actor { // if we're dropped at the place where we came from interpret as cancel drag_canceled (); } - - wm.get_display ().set_cursor (Meta.Cursor.DEFAULT); } /**