diff --git a/js/ui/windowMenu.js b/js/ui/windowMenu.js index cec044e00..3d378fad7 100644 --- a/js/ui/windowMenu.js +++ b/js/ui/windowMenu.js @@ -75,7 +75,7 @@ const WindowMenu = new Lang.Class({ })); if (window.is_above()) item.setOrnament(PopupMenu.Ornament.DOT); - if (window.get_maximized() || + if (window.get_maximized() == Meta.MaximizeFlags.BOTH || type == Meta.WindowType.DOCK || type == Meta.WindowType.DESKTOP || type == Meta.WindowType.SPLASHSCREEN)