f8c7922777b102dc574bb3695fc649b89879ebab Popup menus appear on top on the panels and are active (linked to commit on muffin https://github.com/linuxmint/muffin/commit/9e45c4c8f1cc2f92f266a5f8e1c4e83d4ce70ef1)
diff --git a/js/ui/layout.js b/js/ui/layout.js
index fc7527b..097693c 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -1190,7 +1190,10 @@
             struts.push(strut);
         }
         
-        global.set_stage_input_region(rects);
+        if (global.top_window_group.get_children().length == 0)
+            global.set_stage_input_region(rects);
+        else
+            global.set_stage_input_region([]);
 
         let screen = global.screen;
         for (let w = 0; w < screen.n_workspaces; w++) {
diff --git a/js/ui/main.js b/js/ui/main.js
index 6f85fbd..d0f231c 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -215,6 +215,7 @@
     global.window_group.reparent(uiGroup);
     global.overlay_group.reparent(uiGroup);
     global.stage.add_actor(uiGroup);
+    global.top_window_group.reparent(global.stage);
 
     layoutManager = new Layout.LayoutManager();
     xdndHandler = new XdndHandler.XdndHandler();
diff --git a/src/cinnamon-global.c b/src/cinnamon-global.c
index c77a454..1a5ac8b 100644
--- a/src/cinnamon-global.c
+++ b/src/cinnamon-global.c
@@ -106,6 +106,7 @@
   PROP_STAGE,
   PROP_STAGE_INPUT_MODE,
   PROP_WINDOW_GROUP,
+  PROP_TOP_WINDOW_GROUP,
   PROP_BACKGROUND_ACTOR,
   PROP_WINDOW_MANAGER,
   PROP_SETTINGS,
@@ -200,6 +201,9 @@
       break;
     case PROP_WINDOW_GROUP:
       g_value_set_object (value, meta_get_window_group_for_screen (global->meta_screen));
+      break;
+    case PROP_TOP_WINDOW_GROUP:
+      g_value_set_object (value, meta_get_top_window_group_for_screen (global->meta_screen));
       break;
     case PROP_BACKGROUND_ACTOR:
       g_value_set_object (value, meta_get_background_actor_for_screen (global->meta_screen));
@@ -422,6 +426,13 @@
                                                         CLUTTER_TYPE_ACTOR,
                                                         G_PARAM_READABLE));
   g_object_class_install_property (gobject_class,
+                                   PROP_TOP_WINDOW_GROUP,
+                                   g_param_spec_object ("top-window-group",
+                                                        "Top Window Group",
+                                                        "Actor holding popup menus and other actors which must appear on top of the panels",
+                                                        CLUTTER_TYPE_ACTOR,
+                                                        G_PARAM_READABLE));
+  g_object_class_install_property (gobject_class,
                                    PROP_BACKGROUND_ACTOR,
                                    g_param_spec_object ("background-actor",
                                                         "Background Actor",