From e31e5ba5581eaa2f8148e747b0855c500d41aada Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Thu, 7 Apr 2022 08:19:03 -0400 Subject: [PATCH] Fix proximity actor alloc change --- panel.js | 2 -- proximity.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/panel.js b/panel.js index 840bbfe..3a3b33d 100644 --- a/panel.js +++ b/panel.js @@ -65,9 +65,7 @@ let tracker = Shell.WindowTracker.get_default(); var panelBoxes = ['_leftBox', '_centerBox', '_rightBox']; //timeout names -const T1 = 'startDynamicTransparencyTimeout'; const T2 = 'startIntellihideTimeout'; -const T3 = 'allocationThrottleTimeout'; const T4 = 'showDesktopTimeout'; const T5 = 'trackerFocusAppTimeout'; const T6 = 'scrollPanelDelayTimeout'; diff --git a/proximity.js b/proximity.js index d568809..cb51864 100644 --- a/proximity.js +++ b/proximity.js @@ -45,7 +45,7 @@ class ProximityWatch { this.threshold = [xThreshold, yThreshold]; this.handler = handler; - this._allocationChangedId = actor.connect('notify::allocation', () => this._update()); + this._allocationChangedId = actor.connect('notify::allocation', () => this._updateWatchRect()); this._updateWatchRect(); }