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
icc-effect-5.14.5
Martin Gräßlin 2009-04-02 12:59:52 +00:00
parent 8ed4c44539
commit 5f5399a1cc
2 changed files with 5 additions and 0 deletions

View File

@ -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"/>

View File

@ -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 );