From 3ef69476e76e5b622da7e58d2539e609cac8ab68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Mon, 18 Jun 2012 21:37:35 +0200 Subject: [PATCH] don't fade/out in windows on other desktops BUG: 302101 FIXED-IN: 4.9 REVIEW: 105297 --- effects/fade/package/contents/code/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/fade/package/contents/code/main.js b/effects/fade/package/contents/code/main.js index e47153ecf2..34a9427594 100644 --- a/effects/fade/package/contents/code/main.js +++ b/effects/fade/package/contents/code/main.js @@ -24,7 +24,7 @@ function isFadeWindow(w) { } else if (!w.deleted && effect.isGrabbed(w, Effect.WindowAddedGrabRole)) { return false; } - return !isLoginWindow(w) && !w.desktopWindow && !w.utility; + return w.isOnCurrentDesktop && !isLoginWindow(w) && !w.desktopWindow && !w.utility; } function isLoginWindow(w) {