2018-07-23 21:52:58 +00:00
|
|
|
effects.windowAdded.connect(function(window) {
|
|
|
|
sendTestResponse("windowAdded - " + window.caption);
|
2018-08-20 16:39:36 +00:00
|
|
|
sendTestResponse("stackingOrder - " + effects.stackingOrder.length + " " + effects.stackingOrder[0].caption);
|
2023-09-23 08:13:23 +00:00
|
|
|
|
2023-11-21 11:39:23 +00:00
|
|
|
window.minimizedChanged.connect(() => {
|
|
|
|
if (window.minimized) {
|
|
|
|
sendTestResponse("windowMinimized - " + window.caption);
|
|
|
|
} else {
|
|
|
|
sendTestResponse("windowUnminimized - " + window.caption);
|
|
|
|
}
|
2023-09-23 08:13:23 +00:00
|
|
|
});
|
2018-07-23 21:52:58 +00:00
|
|
|
});
|
|
|
|
effects.windowClosed.connect(function(window) {
|
|
|
|
sendTestResponse("windowClosed - " + window.caption);
|
|
|
|
});
|
2023-02-03 20:04:43 +00:00
|
|
|
effects.desktopChanged.connect(function(old, current) {
|
2023-10-25 17:15:56 +00:00
|
|
|
sendTestResponse("desktopChanged - " + old.x11DesktopNumber + " " + current.x11DesktopNumber);
|
2018-07-23 21:52:58 +00:00
|
|
|
});
|