[gnome-shell] windowManager: Kill a comment



commit 4bf53cd5072d032d8d19506fb42d8ce92ccff80a
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Jan 19 23:40:07 2015 +0100

    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 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index 2f2a0de..5e6bdb5 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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]