effects['desktopChanged(int,int)'].connect(function(old, current) { var stackingOrder = effects.stackingOrder; for (var i=0; i