Commit 61ec98f5 authored by Florian Müllner's avatar Florian Müllner
Browse files

window-list: Reposition on height changes

The window list position depends on both the monitor geometry and the
list height, however changes to the latter are currently ignored. For
the time being this doesn't matter due to the list's fixed height, but
we are about to scale the list with the text, so reposition the list
on height changes.
parent b97c111b
......@@ -813,8 +813,8 @@ const WindowList = new Lang.Class({
Main.ctrlAltTabManager.addGroup(, _("Window List"), 'start-here-symbolic'); = this._monitor.width;,
this._monitor.y + this._monitor.height -;'notify::height', Lang.bind(this, this._updatePosition));
this._appSystem = Shell.AppSystem.get_default();
this._appStateChangedId =
......@@ -915,6 +915,11 @@ const WindowList = new Lang.Class({
_updatePosition: function() {,
this._monitor.y + this._monitor.height -;
_updateWorkspaceIndicatorVisibility: function() { =
this._monitor == Main.layoutManager.primaryMonitor ||
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment