layout: Use addChrome instead of addTopChrome for screenShieldGroup
Make sure the panel is visible above the login and screen shield actors
by adding the screenShieldGroup to the uiGroup underneath the panelBox.
This fixes a regression introduced with 2bd80579ed
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1330
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/571
This commit is contained in:
parent
94ba52af0c
commit
00f9b7bf69
@ -239,7 +239,7 @@ var LayoutManager = GObject.registerClass({
|
|||||||
clip_to_allocation: true,
|
clip_to_allocation: true,
|
||||||
layout_manager: new Clutter.BinLayout(),
|
layout_manager: new Clutter.BinLayout(),
|
||||||
});
|
});
|
||||||
this.addTopChrome(this.screenShieldGroup);
|
this.addChrome(this.screenShieldGroup);
|
||||||
|
|
||||||
this.panelBox = new St.BoxLayout({ name: 'panelBox',
|
this.panelBox = new St.BoxLayout({ name: 'panelBox',
|
||||||
vertical: true });
|
vertical: true });
|
||||||
|
Loading…
Reference in New Issue
Block a user