diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js index 3952f2b6..fe98425d 100644 --- a/extensions/window-list/extension.js +++ b/extensions/window-list/extension.js @@ -813,8 +813,8 @@ const WindowList = new Lang.Class({ Main.ctrlAltTabManager.addGroup(this.actor, _("Window List"), 'start-here-symbolic'); this.actor.width = this._monitor.width; - this.actor.set_position(this._monitor.x, - this._monitor.y + this._monitor.height - this.actor.height); + this.actor.connect('notify::height', Lang.bind(this, this._updatePosition)); + this._updatePosition(); this._appSystem = Shell.AppSystem.get_default(); this._appStateChangedId = @@ -915,6 +915,11 @@ const WindowList = new Lang.Class({ children[active].activate(); }, + _updatePosition: function() { + this.actor.set_position(this._monitor.x, + this._monitor.y + this._monitor.height - this.actor.height); + }, + _updateWorkspaceIndicatorVisibility: function() { this._workspaceIndicator.actor.visible = this._monitor == Main.layoutManager.primaryMonitor ||