8d0554e45a
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 |
||
---|---|---|
.. | ||
animationTest.js | ||
animationTestMulti.js | ||
effectContext.js | ||
effectsHandler.js | ||
fullScreenEffectTest.js | ||
fullScreenEffectTestGlobal.js | ||
fullScreenEffectTestMulti.js | ||
grabAlreadyGrabbedWindowForcedTest_owner.js | ||
grabAlreadyGrabbedWindowForcedTest_thief.js | ||
grabAlreadyGrabbedWindowTest_grabber.js | ||
grabAlreadyGrabbedWindowTest_owner.js | ||
grabTest.js | ||
keepAliveTest.js | ||
keepAliveTestDontKeep.js | ||
screenEdgeTest.js | ||
screenEdgeTouchTest.js | ||
shortcutsTest.js | ||
ungrabTest.js |