[gnome-shell] layout: Call meta_window_* on the meta_window rather then on the actor
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] layout: Call meta_window_* on the meta_window rather then on the actor
- Date: Sun, 17 Feb 2013 20:50:32 +0000 (UTC)
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]