Skip to content

Commit

Permalink
Fix proximity actor alloc change
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesg99 committed Apr 7, 2022
1 parent d86b228 commit e31e5ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion proximity.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit e31e5ba

Please sign in to comment.