[gnome-shell] layout: Call meta_window_* on the meta_window rather then on the actor



commit ae93d258a5d67824968c90045bf824ec76b6ca08
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Sun Feb 17 21:47:09 2013 +0100

    layout: Call meta_window_* on the meta_window rather then on the actor

 js/ui/layout.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index e76597e..29c3f0e 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -773,10 +773,10 @@ const LayoutManager = new Lang.Class({
             let layer = metaWindow.get_layer();
 
             // Skip minimized windows
-            if (!window.showing_on_its_workspace())
+            if (!metaWindow.showing_on_its_workspace())
                 continue;
 
-            if (window.is_monitor_sized()) {
+            if (metaWindow.is_monitor_sized()) {
                 let monitor = this.monitors[metaWindow.get_monitor()];
                 if (monitor)
                     monitor.inFullscreen = true;


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