Revision b0274fd...
Go back to digest for 1st April 2012Features in KDE Base
Martin Gräßlin committed changes in [kde-workspace] /scripting:
Global Shortcut support for KWin scripts and scripted Effects
A global method "registerShortcut" is exported to the scripts which
can be used to register a callback to be called when the global
shortcut is triggered.
The shared code between Scripts and Effects is moved into template
functions defined in a new file scriptingutils.h.
REVIEW: 104400
File Changes
Added 1 files
- kwin/scripting/scriptingutils.h
Modified 4 files
- /scripting
- kwin/scriptedeffect.cpp
- kwin/scriptedeffect.h
- kwin.cpp
- kwin.h
5 files changed in total