Skip to content

Commit

Permalink
Merge branch 'master' into require-mutter-42
Browse files Browse the repository at this point in the history
  • Loading branch information
bobby285271 committed Feb 20, 2023
2 parents e7ff97d + 9443686 commit 964fda6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Widgets/WindowClone.vala
Expand Up @@ -435,7 +435,7 @@ public class Gala.WindowClone : Clutter.Actor {

active_shape.set_scale_factor (scale_factor);

if (clone == null || drag_action.dragging) {
if (clone == null || (drag_action != null && drag_action.dragging)) {
return;
}

Expand All @@ -460,7 +460,7 @@ public class Gala.WindowClone : Clutter.Actor {
}

public override bool enter_event (Clutter.CrossingEvent event) {
if (drag_action.dragging) {
if (drag_action != null && drag_action.dragging) {
return Gdk.EVENT_PROPAGATE;
}

Expand Down

0 comments on commit 964fda6

Please sign in to comment.