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(); }