From ead4c2b863fe8221a27ff17d1515e8517caadaa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Fri, 30 Jan 2015 17:57:09 +0100
Subject: [PATCH] shell-app: Fix typo

Commit 086fcd4a32 broke the build, use the correct variable to fix.

https://bugzilla.gnome.org/show_bug.cgi?id=743729
---
 src/shell-app.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/shell-app.c b/src/shell-app.c
index 60be10042..9a688ef7a 100644
--- a/src/shell-app.c
+++ b/src/shell-app.c
@@ -582,7 +582,8 @@ shell_app_activate_window (ShellApp     *app,
         {
           MetaWindow *other_window = iter->data;
 
-          if (other_window != window && meta_window_get_workspace (other_window) == workspace)
+          if (other_window != window &&
+              meta_window_get_workspace (other_window) == active);
             meta_window_raise (other_window);
         }
       g_slist_free (windows_reversed);