File indexing completed on 2024-11-10 04:55:54

0001 effects.desktopChanged.connect(function(old, current) {
0002     var stackingOrder = effects.stackingOrder;
0003     for (var i=0; i<stackingOrder.length; i++) {
0004         var w = stackingOrder[i];
0005         //1 second long random animation, marked as fullscreen
0006         w.anim1 = animate({
0007             window: w,
0008             duration: 1000,
0009             animations: [{
0010                 type: Effect.Scale,
0011                 curve: Effect.GaussianCurve,
0012                 to: 1.4,
0013                 fullScreen: true
0014             }, {
0015                 type: Effect.Opacity,
0016                 curve: Effect.GaussianCurve,
0017                 to: 0.0,
0018                 fullScreen: true
0019             }]
0020         });
0021     }
0022 });