Resume usage of main panel on primary monitor

This commit is contained in:
Charles Gagnon
2019-12-28 22:02:17 -05:00
parent 77ae9ca855
commit 9dd4a021d1
6 changed files with 207 additions and 145 deletions

View File

@@ -356,7 +356,7 @@ var Intellihide = Utils.defineClass({
},
_checkIfGrab: function() {
if (GrabHelper._grabHelperStack.some(gh => gh._owner == this._dtpPanel.grabOwner)) {
if (GrabHelper._grabHelperStack.some(gh => gh._owner == this._dtpPanel.panel.actor)) {
//there currently is a grab on a child of the panel, check again soon to catch its release
this._timeoutsHandler.add([T1, CHECK_GRAB_MS, () => this._queueUpdatePanelPosition()]);