Fix error introduced with 0950f4

CCBUG: 299429
This commit is contained in:
Martin Gräßlin 2012-05-06 20:27:47 +02:00
parent b3a813ffa7
commit 8dd05b6cb2

View file

@ -36,7 +36,7 @@ effects['desktopChanged(int,int)'].connect(function(oldDesktop, newDesktop) {
if (w.minimized) {
continue;
}
if (!w.isOnActivity(currentActivity)){
if (!w.isOnActivity(effects.currentActivity)){
continue;
}
if (w.desktop == oldDesktop) {