use proper onCurrentDesktop instead of isOnCurrentDesktop

BUG: 302784
FIXED-IN: 4.9
REVIEW: 105394
This commit is contained in:
Thomas Lübking 2012-06-30 13:50:02 +02:00
parent 9c1b7f823c
commit 34ba9411c9

View file

@ -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) {