kwin/org.kde.KWin.Session.xml
David Edmundson 71ce1f7a5b Add an explicit quit mechanism controlled by plasma
On X Kwin's lifespan used to be managed by XSMP. This accidentally broke
in 5.20 as we made kwin start before ksmserver for speed purposes.

This leaves kwin to be killed by the display manager as the X connection
closes, but this can lead to deadlocks.

BUG:428817

On wayland kwin's lifespan is mapped to the lifespan of the ksmserver
binary. This is problematic as it makes our entire xwayland robustness
redundant if we ultimately rely on an application that /has/ to run in
xwayland.

BUG: 427688
2020-11-22 22:04:59 +00:00

27 lines
937 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!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.Session">
<method name="setState">
<!-- Sets state of the session should be one of:
0 = normal
1 = saving
2= quitting
-->
<arg name="state" type="u" direction="in" />
</method>
<method name="loadSession">
<arg name="name" type="s" direction="in" />
</method>
<method name="aboutToSaveSession">
<arg name="name" type="s" direction="in" />
</method>
<method name="finishSaveSession">
<arg name="name" type="s" direction="in" />
</method>
<!-- Shutdown kwin at the end of the session -->
<method name="quit">
</method>
</interface>
</node>