Skip to content

Commit

Permalink
remove deprecated property
Browse files Browse the repository at this point in the history
  • Loading branch information
Valent-in committed May 8, 2021
1 parent 160b582 commit 38e3047
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dash.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ var MyDash = GObject.registerClass({
let scale = St.ThemeContext.get_for_stage(Meta.get_backend().get_stage()).scale_factor;

// Detect dragging over icon (Wayland)
appIcon.actor.connect('motion-event', (obj, event) => {
appIcon.connect('motion-event', (obj, event) => {
let [modifier] = event.get_state_full();
let mask = Clutter.ModifierType.BUTTON1_MASK;

Expand All @@ -543,7 +543,7 @@ var MyDash = GObject.registerClass({
}
});

appIcon.actor.connect('leave-event', () => {
appIcon.connect('leave-event', () => {
resetTimer(switchTimerId);
isDndTarget = false;
});
Expand Down

0 comments on commit 38e3047

Please sign in to comment.