From 34ba9411c9bc0443f543659cf3a1e0a59647ed44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sat, 30 Jun 2012 13:50:02 +0200 Subject: [PATCH] use proper onCurrentDesktop instead of isOnCurrentDesktop BUG: 302784 FIXED-IN: 4.9 REVIEW: 105394 --- 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 34a9427594..6d53874847 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 w.isOnCurrentDesktop && !isLoginWindow(w) && !w.desktopWindow && !w.utility; + return w.onCurrentDesktop && !isLoginWindow(w) && !w.desktopWindow && !w.utility; } function isLoginWindow(w) {