mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
c0acf3ae6d
To allow other clients (gnome-session, gnome-settings-daemon) to monitor user activity, introduce a DBus interface for the idle monitor inside mutter. https://bugzilla.gnome.org/show_bug.cgi?id=706005
36 lines
958 B
XML
36 lines
958 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>
|
|
<!--
|
|
org.gnome.Mutter.IdleMonitor:
|
|
@short_description: idle monitor interface
|
|
|
|
This interface is used by gnome-desktop to implement
|
|
user activity monitoring.
|
|
-->
|
|
|
|
<interface name="org.gnome.Mutter.IdleMonitor">
|
|
<method name="GetIdletime">
|
|
<arg name="idletime" direction="out" type="t"/>
|
|
</method>
|
|
|
|
<method name="AddIdleWatch">
|
|
<arg name="interval" direction="in" type="t" />
|
|
<arg name="id" direction="out" type="u" />
|
|
</method>
|
|
|
|
<method name="AddUserActiveWatch">
|
|
<arg name="id" direction="out" type="u" />
|
|
</method>
|
|
|
|
<method name="RemoveWatch">
|
|
<arg name="id" direction="in" type="u" />
|
|
</method>
|
|
|
|
<signal name="WatchFired">
|
|
<arg name="id" direction="out" type="u" />
|
|
</signal>
|
|
</interface>
|
|
</node>
|