Fix proximity actor alloc change

This commit is contained in:
Charles Gagnon
2022-04-07 08:19:03 -04:00
parent d86b22890f
commit e31e5ba558
2 changed files with 1 additions and 3 deletions

View File

@@ -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';

View File

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