diff --git a/js/ui/panel.js b/js/ui/panel.js index 73002d039..80e6179b6 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -962,7 +962,7 @@ class Panel extends St.Widget { } _toggleMenu(indicator) { - if (!indicator || !indicator.container.visible) + if (!indicator || !indicator.mapped) return; // menu not supported by current session mode let menu = indicator.menu;