diff options
author | Ray Strode <rstrode@redhat.com> | 2011-05-18 22:37:26 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2011-06-15 09:58:59 -0400 |
commit | adc116c0f3a06ccb020273d694dc3dc00ee535ff (patch) | |
tree | a5c7847f5f93919b6ec7cdea6b2ee920d7da8a1f /daemon/gdm-display.xml | |
parent | 074db4c11bf4dac95e585c4bfcf98416d88aefea (diff) | |
download | gdm-adc116c0f3a06ccb020273d694dc3dc00ee535ff.tar.gz |
daemon: add switch-on-finish property to display
When a display exits, sometimes it's desirable to
jump to a login screen.
This depends if the display is transient or not, and
also whether the display is hosting an already logged
in session or not.
This commit adds a property to the display object that
says whether a switch should happen or not.
Note the code to actually perform the switch will get
added in a follow up commit.
Based on work by Josselin Mouette <joss@debian.org>
https://bugzilla.gnome.org/show_bug.cgi?id=618047
Diffstat (limited to 'daemon/gdm-display.xml')
-rw-r--r-- | daemon/gdm-display.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/gdm-display.xml b/daemon/gdm-display.xml index a92e37fc..d3ce4a4c 100644 --- a/daemon/gdm-display.xml +++ b/daemon/gdm-display.xml @@ -35,6 +35,9 @@ <method name="SetSlaveBusName"> <arg name="name" direction="in" type="s"/> </method> + <method name="SetSwitchOnFinish"> + <arg name="switch_display" direction="in" type="b"/> + </method> <method name="GetTimedLoginDetails"> <arg name="enabled" direction="out" type="b"/> <arg name="username" direction="out" type="s"/> |