window-list: Adjust to trayBox removal

The point of that code is to keep the window-list underneath
modals' lightboxes if possible (i.e. unless the OSK is shown).
The trayBox was a natural pick back in the day, but the panel
will do just as well ...

https://bugzilla.gnome.org/show_bug.cgi?id=745304
This commit is contained in:
Florian Müllner
2015-02-27 20:17:31 +01:00
parent 57d012c846
commit 7afdb541ce
+2 -2
View File
@@ -803,7 +803,7 @@ const WindowList = new Lang.Class({
Main.layoutManager.addChrome(this.actor, { affectsStruts: true,
trackFullscreen: true });
Main.uiGroup.set_child_above_sibling(this.actor, Main.layoutManager.trayBox);
Main.uiGroup.set_child_above_sibling(this.actor, Main.layoutManager.panelBox);
Main.ctrlAltTabManager.addGroup(this.actor, _("Window List"), 'start-here-symbolic');
this.actor.width = this._monitor.width;
@@ -825,7 +825,7 @@ const WindowList = new Lang.Class({
Main.uiGroup.set_child_above_sibling(this.actor, keyboardBox);
else
Main.uiGroup.set_child_above_sibling(this.actor,
Main.layoutManager.trayBox);
Main.layoutManager.panelBox);
this._updateKeyboardAnchor();
}));