[gnome-shell-extensions] auto-move-windows: update for gnome-shell changes



commit 4a5521a9ba7842c313866c74be314ce7f5304519
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Thu Feb 20 01:10:15 2014 +0100

    auto-move-windows: update for gnome-shell changes
    
    meta_window_actor_get_workspace() was removed.

 extensions/auto-move-windows/extension.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/extensions/auto-move-windows/extension.js b/extensions/auto-move-windows/extension.js
index a1cbd09..a6943f5 100644
--- a/extensions/auto-move-windows/extension.js
+++ b/extensions/auto-move-windows/extension.js
@@ -104,9 +104,9 @@ function myCheckWorkspaces() {
 
     let windows = global.get_window_actors();
     for (i = 0; i < windows.length; i++) {
-       let win = windows[i];
-
-       if (win.get_meta_window().is_on_all_workspaces())
+       let winActor = windows[i];
+        let win = winActor.meta_window;
+       if (win.is_on_all_workspaces())
             continue;
 
        let workspaceIndex = win.get_workspace();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]