[gnome-shell] workspace, workspaceThumbnail: Fix another bad rebase
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] workspace, workspaceThumbnail: Fix another bad rebase
- Date: Thu, 7 Feb 2013 07:32:23 +0000 (UTC)
commit d2c45f428f7dfc5b78ec07b7e16e40f700230f6f
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Jan 14 12:38:02 2013 -0500
workspace, workspaceThumbnail: Fix another bad rebase
It seems I pushed an old version of the patch by accident.
js/ui/workspace.js | 4 ++--
js/ui/workspaceThumbnail.js | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index 8342b18..abc0cb4 100644
--- a/js/ui/workspace.js
+++ b/js/ui/workspace.js
@@ -1531,11 +1531,11 @@ const Workspace = new Lang.Class({
this.leavingOverview = false;
},
- // Tests if @win belongs to this workspaces and monitor
+ // Tests if @actor belongs to this workspaces and monitor
_isMyWindow : function (actor) {
let win = actor.meta_window;
return (this.metaWorkspace == null || win.located_on_workspace(this.metaWorkspace)) &&
- (!win.get_monitor() == this.monitorIndex);
+ (win.get_monitor() == this.monitorIndex);
},
// Tests if @win should be shown in the Overview
diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js
index 03d1fc0..987c886 100644
--- a/js/ui/workspaceThumbnail.js
+++ b/js/ui/workspaceThumbnail.js
@@ -380,11 +380,11 @@ const WorkspaceThumbnail = new Lang.Class({
this.actor = null;
},
- // Tests if @win belongs to this workspace and monitor
+ // Tests if @actor belongs to this workspace and monitor
_isMyWindow : function (actor) {
let win = actor.meta_window;
return win.located_on_workspace(this.metaWorkspace) &&
- (!win.get_monitor() == this.monitorIndex);
+ (win.get_monitor() == this.monitorIndex);
},
// Tests if @win should be shown in the Overview
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]