WindowClone: reset cursor early (#1786)

This commit is contained in:
Leo 2023-10-28 21:35:22 +09:00 committed by GitHub
parent b8bea1fd01
commit ae07ad5abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
/**