Bug 299275

Summary: Screen Edge bindings for KWin Scripting
Product: [Plasma] kwin Reporter: Martin Flöser <mgraesslin>
Component: scriptingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: contact
Priority: NOR Flags: mgraesslin: ReviewRequest+
Version: git master   
Target Milestone: 4.9   
Platform: unspecified   
OS: Linux   
URL: https://git.reviewboard.kde.org/r/104904/
Latest Commit: Version Fixed In: 4.9.0

Description Martin Flöser 2012-05-03 07:13:37 UTC
KWin Scripts should be able to reserve and use a screen edge just in the same way as KWin effects do.
Comment 1 Martin Flöser 2012-05-15 15:55:04 UTC
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