4cdf27e74c
This allows Plasma to gracefully close windows on shutdown by sending xdg_toplevel.close. If after 10 seconds windows are still open because they prompt for unsaved changes or similar cases, a notification is shown to either prompt or logout regardless. CCBUG: 461176
30 lines
1 KiB
XML
30 lines
1 KiB
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>
|
|
<method name="closeWaylandWindows">
|
|
<arg type="b" direction="out" />
|
|
</method>
|
|
</interface>
|
|
</node>
|
|
|