From 4bf53cd5072d032d8d19506fb42d8ce92ccff80a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 19 Jan 2015 23:40:07 +0100 Subject: [PATCH] windowManager: Kill a comment The code described by the comment was moved away in commit eda27d51, so it is not misleading at best. It wasn't too useful to begin with, so kill it off rather than moving it to the correct place ... --- js/ui/windowManager.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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: