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

0001 effects.windowAdded.connect(function(window) {
0002     sendTestResponse("windowAdded - " + window.caption);
0003     sendTestResponse("stackingOrder - " + effects.stackingOrder.length + " " + effects.stackingOrder[0].caption);
0004 
0005     window.minimizedChanged.connect(() => {
0006         if (window.minimized) {
0007             sendTestResponse("windowMinimized - " + window.caption);
0008         } else {
0009             sendTestResponse("windowUnminimized - " + window.caption);
0010         }
0011     });
0012 });
0013 effects.windowClosed.connect(function(window) {
0014     sendTestResponse("windowClosed - " + window.caption);
0015 });
0016 effects.desktopChanged.connect(function(old, current) {
0017     sendTestResponse("desktopChanged - " + old.x11DesktopNumber + " " + current.x11DesktopNumber);
0018 });