mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Update proximity on workspace switch
This commit is contained in:
@@ -121,6 +121,11 @@ var ProximityManager = new Lang.Class({
|
||||
'restacked',
|
||||
() => this._queueUpdate()
|
||||
],
|
||||
[
|
||||
global.window_manager,
|
||||
'switch-workspace',
|
||||
() => Object.keys(this._watches).forEach(id => this._watches[id].overlap = 0)
|
||||
],
|
||||
[
|
||||
global.display,
|
||||
'notify::focus-window',
|
||||
@@ -182,6 +187,7 @@ var ProximityManager = new Lang.Class({
|
||||
|
||||
_getHandledWindows: function() {
|
||||
return global.get_window_actors()
|
||||
.filter(w => w.visible)
|
||||
.map(w => w.get_meta_window())
|
||||
.filter(mw => this._checkIfHandledWindow(mw));
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user