mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
layout: Keep the top_window group above newly added chrome
The top_window_group was introduced for popup windows that should appear above system chrome, but as the group itself is just a child of Main.uiGroup, chrome that is added after top_window_group will still be stacked on top. At least correct the stacking for actors added via addChrome(). https://bugzilla.gnome.org/show_bug.cgi?id=702338
This commit is contained in:
parent
ea02380c15
commit
9786b2d096
1 changed files with 2 additions and 0 deletions
|
|
@ -749,6 +749,8 @@ const LayoutManager = new Lang.Class({
|
|||
// and shown otherwise)
|
||||
addChrome: function(actor, params) {
|
||||
this.uiGroup.add_actor(actor);
|
||||
if (this.uiGroup.contains(global.top_window_group))
|
||||
this.uiGroup.set_child_below_sibling(actor, global.top_window_group);
|
||||
this._trackActor(actor, params);
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue