kwin/autotests/integration/effects
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
..
scripts [scripting] Allow effects to grab windows 2018-10-29 10:17:21 +02:00
CMakeLists.txt [autotests] Unit most scripted effects API 2018-07-31 12:29:04 +01:00
fade_test.cpp XdgV6 - Kwin side 2017-09-25 16:47:30 +01:00
scripted_effects_test.cpp [scripting] Allow effects to grab windows 2018-10-29 10:17:21 +02:00
slidingpopups_test.cpp [autotests] Extend test tables of SlidingPopupsTest 2018-10-04 21:38:54 +03:00
translucency_test.cpp Clean up includes 2018-08-31 22:58:11 +03:00
windowgeometry_test.cpp [effects] Delay creation of EffectFrames in WindowGeometryEffect 2017-11-21 19:28:00 +01:00
wobbly_shade_test.cpp Clean up includes 2018-08-31 22:58:11 +03:00