[gnome-shell-extensions] auto-move-windows: Fix fallout from API change
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] auto-move-windows: Fix fallout from API change
- Date: Thu, 24 Apr 2014 11:09:32 +0000 (UTC)
commit fee5495692383399d227f99c3fe71401f0d40107
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Apr 24 12:39:19 2014 +0200
auto-move-windows: Fix fallout from API change
MetaWindowActor.get_workspace() was removed, however the now used
MetaWindow.get_workspace() returns a MetaWorkspace rather than an
index, so can't be used directly.
https://bugzilla.gnome.org/show_bug.cgi?id=728820
extensions/auto-move-windows/extension.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/auto-move-windows/extension.js b/extensions/auto-move-windows/extension.js
index fd416c6..db27685 100644
--- a/extensions/auto-move-windows/extension.js
+++ b/extensions/auto-move-windows/extension.js
@@ -109,7 +109,7 @@ function myCheckWorkspaces() {
if (win.is_on_all_workspaces())
continue;
- let workspaceIndex = win.get_workspace();
+ let workspaceIndex = win.get_workspace().index();
emptyWorkspaces[workspaceIndex] = false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]