5d279a0ddd
Summary: Ready for QJSEngine port and upcoming other fixes. Split as it makes it easier to do any before/after testing. Test Plan: All tests pass with the current QScriptEngine Verified expected API against a wiki page and current code. Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D14482
15 lines
591 B
JavaScript
15 lines
591 B
JavaScript
effects.windowAdded.connect(function(window) {
|
|
sendTestResponse("windowAdded - " + window.caption);
|
|
});
|
|
effects.windowClosed.connect(function(window) {
|
|
sendTestResponse("windowClosed - " + window.caption);
|
|
});
|
|
effects.windowMinimized.connect(function(window) {
|
|
sendTestResponse("windowMinimized - " + window.caption);
|
|
});
|
|
effects.windowUnminimized.connect(function(window) {
|
|
sendTestResponse("windowUnminimized - " + window.caption);
|
|
});
|
|
effects['desktopChanged(int,int)'].connect(function(old, current) {
|
|
sendTestResponse("desktopChanged - " + old + " " + current);
|
|
});
|