mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
dcf64ca167
This uses David Herrmann's new logind sessions interface to retrieve fds for input devices, rather than using a custom setuid helper to do the management. This vastly simplifies the interface. This requires systemd v210, at least. https://bugzilla.gnome.org/show_bug.cgi?id=724604
45 lines
1.4 KiB
XML
45 lines
1.4 KiB
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.freedesktop.login1.Session">
|
|
<property name="Active" type="b" access="read" />
|
|
|
|
<method name="Activate">
|
|
</method>
|
|
<method name="TakeControl">
|
|
<arg name="force" type="b"/>
|
|
</method>
|
|
<method name="TakeDevice">
|
|
<annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
|
|
<arg name="major" type="u" direction="in"/>
|
|
<arg name="minor" type="u" direction="in"/>
|
|
<arg name="fd" type="h" direction="out"/>
|
|
<arg name="paused" type="b" direction="out"/>
|
|
</method>
|
|
<method name="ReleaseDevice">
|
|
<arg name="major" type="u"/>
|
|
<arg name="minor" type="u"/>
|
|
</method>
|
|
<method name="PauseDeviceComplete">
|
|
<arg name="major" type="u"/>
|
|
<arg name="minor" type="u"/>
|
|
</method>
|
|
<signal name="PauseDevice">
|
|
<arg name="major" type="u"/>
|
|
<arg name="minor" type="u"/>
|
|
<arg name="type" type="s"/>
|
|
</signal>
|
|
<signal name="ResumeDevice">
|
|
<arg name="major" type="u"/>
|
|
<arg name="minor" type="u"/>
|
|
<arg name="fd" type="h"/>
|
|
</signal>
|
|
</interface>
|
|
|
|
<interface name="org.freedesktop.login1.Seat">
|
|
<method name="SwitchTo">
|
|
<arg name="vt" type="u"/>
|
|
</method>
|
|
</interface>
|
|
</node>
|