File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ namespace Gala {
4949 */
5050 public Clutter . Actor shell_group { get ; private set ; }
5151
52+ private Clutter . Actor menu_group { get ; set ; }
53+
5254 /**
5355 * {@inheritDoc }
5456 */
@@ -223,6 +225,7 @@ namespace Gala {
223225 * +-- window switcher
224226 * +-- window overview
225227 * +-- shell group
228+ * +-- menu group
226229 * +-- feedback group (e.g. DND icons)
227230 * +-- pointer locator
228231 * +-- dwell click timer
@@ -291,6 +294,9 @@ namespace Gala {
291294 shell_group = new Clutter .Actor ();
292295 ui_group. add_child (shell_group);
293296
297+ menu_group = new Clutter .Actor ();
298+ ui_group. add_child (menu_group);
299+
294300 var feedback_group = display. get_compositor (). get_feedback_group ();
295301 stage. remove_child (feedback_group);
296302 ui_group. add_child (feedback_group);
@@ -1018,6 +1024,14 @@ namespace Gala {
10181024 if (NotificationStack . is_notification (window)) {
10191025 notification_stack. show_notification (actor);
10201026 }
1027+
1028+ if (window. window_type == MENU ||
1029+ window. window_type == DROPDOWN_MENU ||
1030+ window. window_type == POPUP_MENU ||
1031+ window. window_type == TOOLTIP
1032+ ) {
1033+ InternalUtils . clutter_actor_reparent (actor, menu_group);
1034+ }
10211035 }
10221036
10231037 /*
You can’t perform that action at this time.
0 commit comments