[gnome-shell] layout: Mark the correct monitor as fullscreen
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] layout: Mark the correct monitor as fullscreen
- Date: Thu, 28 Feb 2013 18:36:36 +0000 (UTC)
commit 804ff8b5a55041a04d238f9595e6357ad651b66c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Feb 28 13:34:05 2013 -0500
layout: Mark the correct monitor as fullscreen
js/ui/layout.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index ef4273d..8fdf57a 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -887,8 +887,10 @@ const LayoutManager = new Lang.Class({
this.monitors[i].inFullscreen = true;
} else {
let monitors = metaWindow.get_all_monitors();
- for (let i = 0; i < monitors.length; i++)
- this.monitors[i].inFullscreen = true;
+ for (let i = 0; i < monitors.length; i++) {
+ let index = monitors[i];
+ this.monitors[index].inFullscreen = true;
+ }
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]