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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
dbuscall.cpp | ||
dbuscall.h | ||
documentation-effect-global.xml | ||
documentation-global.xml | ||
genericscriptedconfig.cpp | ||
genericscriptedconfig.h | ||
genericscriptedconfig.json | ||
kwinscript.desktop | ||
Messages.sh | ||
meta.cpp | ||
meta.h | ||
screenedgeitem.cpp | ||
screenedgeitem.h | ||
scriptedeffect.cpp | ||
scriptedeffect.h | ||
scripting.cpp | ||
scripting.h | ||
scripting_logging.cpp | ||
scripting_logging.h | ||
scripting_model.cpp | ||
scripting_model.h | ||
scriptingutils.cpp | ||
scriptingutils.h | ||
timer.cpp | ||
workspace_wrapper.cpp | ||
workspace_wrapper.h |