Skip to content

Commit

Permalink
WindowClone: reset cursor early (#1786)
Browse files Browse the repository at this point in the history
  • Loading branch information
lenemter authored Oct 28, 2023
1 parent b8bea1f commit ae07ad5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Widgets/WindowClone.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit ae07ad5

Please sign in to comment.