diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 2f2a0de38..5e6bdb503 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -1146,10 +1146,8 @@ const WindowManager = new Lang.Class({ return; } - if (actor.meta_window.is_attached_dialog()) { - /* Scale the window from the center of the parent */ + if (actor.meta_window.is_attached_dialog()) this._checkDimming(actor.get_meta_window().get_transient_for()); - } switch (actor._windowType) { case Meta.WindowType.NORMAL: