KWin Scripts should be able to reserve and use a screen edge just in the same way as KWin effects do.
Git commit 2658e1233dd25deac3dd1f7233423b0453f96bf8 by Martin Gräßlin. Committed on 10/05/2012 at 16:09. Pushed by graesslin into branch 'master'. Screen Edge bindings for Scripts and Scripted Effects ScreenEdge is changed to emit a signal whenever a screen edge got activated without an action or effect taking care of it. A Script can reserve one to many callbacks for an edge and the callback get's triggered whenever the signal is emitted. On deconstruction of the Script the edge is unreserved again. FIXED-IN: 4.9.0 REVIEW: 104904 M +5 -2 kwin/screenedge.cpp M +8 -1 kwin/screenedge.h M +8 -0 kwin/scripting/documentation-global.xml M +27 -0 kwin/scripting/scriptedeffect.cpp M +6 -0 kwin/scripting/scriptedeffect.h M +22 -0 kwin/scripting/scripting.cpp M +7 -0 kwin/scripting/scripting.h M +53 -0 kwin/scripting/scriptingutils.h M +13 -0 kwin/scripting/workspace_wrapper.h http://commits.kde.org/kde-workspace/2658e1233dd25deac3dd1f7233423b0453f96bf8