From ae93d258a5d67824968c90045bf824ec76b6ca08 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Sun, 17 Feb 2013 21:47:09 +0100 Subject: [PATCH] layout: Call meta_window_* on the meta_window rather then on the actor --- js/ui/layout.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/layout.js b/js/ui/layout.js index e76597e87..29c3f0ea6 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;