mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Fix proximity actor alloc change
This commit is contained in:
2
panel.js
2
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';
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user