From 22c30b52ed343e752ab049bb8497a8e15bcc54b3 Mon Sep 17 00:00:00 2001 From: lenemter Date: Sat, 28 Oct 2023 14:06:43 +0900 Subject: [PATCH] WindowClone: reset cursor early --- 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 14af8f698..cb5c2c8a0 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); } /**