Bug 299275 - Screen Edge bindings for KWin Scripting
Summary: Screen Edge bindings for KWin Scripting
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: scripting (show other bugs)
Version: git master
Platform: unspecified Linux
: NOR wishlist
Target Milestone: 4.9
Assignee: KWin default assignee
URL: https://git.reviewboard.kde.org/r/104...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-03 07:13 UTC by Martin Flöser
Modified: 2012-05-15 15:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.0
mgraesslin: ReviewRequest+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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