kwin/org.kde.kwin.Compositing.xml
Martin Gräßlin 9820e4daf6 Introduce dedicated suspend and resume methods on Compositing interface
The new methods suspend and resume are meant to provide a better way to
influence the current compositing state than toggleCompositing. In
addition an overload setCompositing(bool) is added. The resume method is
implemented in a way that it can be used to try to start the compositor
again in case it failed.

Internally the method suspendResume is dropped as it does the same as
setCompositing just with inverted binary logic and worse name. The
compositingToggled signal is now emitted from within setup and finish to
ensure that especially the compositingToggled(true) signal is only
emitted if the Compositor could start.

Also the updateCompositingBlocking is adjusted to use the new dedicated
suspend and resume methods instead of the toggle method.

REVIEW: 106273
2012-09-06 09:59:20 +02:00

22 lines
876 B
XML

<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.kde.kwin.Compositing">
<property name="active" type="b" access="read"/>
<property name="compositingPossible" type="b" access="read"/>
<property name="compositingNotPossibleReason" type="s" access="read"/>
<property name="openGLIsBroken" type="b" access="read"/>
<property name="compositingType" type="s" access="read"/>
<signal name="compositingToggled">
<arg name="active" type="b" direction="out"/>
</signal>
<method name="toggleCompositing">
</method>
<method name="suspend">
</method>
<method name="resume">
</method>
<method name="setCompositing">
<arg name="active" type="b" direction="in"/>
</method>
</interface>
</node>