Add toggleCompositing to dbus interface. This method call should be used by external applications instead of changing kwin's config and forcing kwin to reload.
FEATURE: 181544 svn path=/trunk/KDE/kdebase/workspace/; revision=948160
This commit is contained in:
parent
8ed4c44539
commit
5f5399a1cc
2 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,9 @@
|
|||
<method name="killWindow">
|
||||
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
|
||||
</method>
|
||||
<method name="toggleCompositing">
|
||||
<annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
|
||||
</method>
|
||||
<method name="refresh"/>
|
||||
<method name="doNotManage">
|
||||
<arg name="name" type="s" direction="in"/>
|
||||
|
|
|
@ -328,6 +328,8 @@ class Workspace : public QObject, public KDecorationDefines
|
|||
// KDE4 remove me - And it's also in the DCOP interface :(
|
||||
void showWindowMenuAt( unsigned long id, int x, int y );
|
||||
|
||||
void toggleCompositing()
|
||||
{ slotToggleCompositing(); }
|
||||
void loadEffect( const QString& name );
|
||||
void toggleEffect( const QString& name );
|
||||
void reconfigureEffect( const QString& name );
|
||||
|
|
Loading…
Reference in a new issue