aboutsummaryrefslogtreecommitdiff
path: root/src/backend-dbus/org.freedesktop.DisplayManager.Seat.xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend-dbus/org.freedesktop.DisplayManager.Seat.xml')
-rw-r--r--src/backend-dbus/org.freedesktop.DisplayManager.Seat.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/backend-dbus/org.freedesktop.DisplayManager.Seat.xml b/src/backend-dbus/org.freedesktop.DisplayManager.Seat.xml
new file mode 100644
index 0000000..07b5f29
--- /dev/null
+++ b/src/backend-dbus/org.freedesktop.DisplayManager.Seat.xml
@@ -0,0 +1,30 @@
+<!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.DisplayManager.Seat">
+
+ <property name="CanSwitch" type="b" access="read"/>
+
+ <property name="HasGuestAccount" type="b" access="read"/>
+
+ <property name="Sessions" type="ao" access="read"/>
+
+ <!-- Show greeter to allow new login / switch users -->
+ <method name="SwitchToGreeter"/>
+
+ <!-- Switch to a user, starting a new display if required -->
+ <method name="SwitchToUser">
+ <arg name="username" direction="in" type="s"/>
+ <arg name="session_name" direction="in" type="s"/>
+ </method>
+
+ <!-- Switch to the guest user -->
+ <method name="SwitchToGuest">
+ <arg name="session_name" direction="in" type="s"/>
+ </method>
+
+ <method name='Lock'/>
+
+ </interface>
+
+</node>