kwin/autotests/integration/effects/scripts
Vlad Zagorodniy 8d0554e45a [scripting] Allow effects to grab windows
Summary:
Some JavaScript based effects need to grab particular windows in order
to avoid conflicts with other effects.

Example usage:

```lang=js
effects.windowAdded.connect(function (window) {
    if (effect.grab(window, Effect.WindowAddedGrabRole)) {
        window.coolWindowTypeAnimation = animate({
            ...
        });
    }
});
```

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: romangg, graesslin, davidedmundson, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D13153
2018-10-29 10:17:21 +02:00
..
animationTest.js
animationTestMulti.js
effectContext.js
effectsHandler.js [autotests] Test ScriptedEffects stackingOrder 2018-08-20 17:39:36 +01:00
fullScreenEffectTest.js [libkwineffects] Expose getting/setting activeFullScript to scripted effects 2018-10-04 00:57:44 +03:00
fullScreenEffectTestGlobal.js [scripting] Propagate fullScreenEffect from global settings to local settings 2018-10-10 18:27:52 +03:00
fullScreenEffectTestMulti.js [libkwineffects] Expose getting/setting activeFullScript to scripted effects 2018-10-04 00:57:44 +03:00
grabAlreadyGrabbedWindowForcedTest_owner.js [scripting] Allow effects to grab windows 2018-10-29 10:17:21 +02:00
grabAlreadyGrabbedWindowForcedTest_thief.js [scripting] Allow effects to grab windows 2018-10-29 10:17:21 +02:00
grabAlreadyGrabbedWindowTest_grabber.js [scripting] Allow effects to grab windows 2018-10-29 10:17:21 +02:00
grabAlreadyGrabbedWindowTest_owner.js [scripting] Allow effects to grab windows 2018-10-29 10:17:21 +02:00
grabTest.js [scripting] Allow effects to grab windows 2018-10-29 10:17:21 +02:00
keepAliveTest.js [effects/dialogparent] Fix flickering of parent windows 2018-10-10 18:34:12 +03:00
keepAliveTestDontKeep.js [effects/dialogparent] Fix flickering of parent windows 2018-10-10 18:34:12 +03:00
screenEdgeTest.js
screenEdgeTouchTest.js
shortcutsTest.js
ungrabTest.js [scripting] Allow effects to grab windows 2018-10-29 10:17:21 +02:00