summaryrefslogtreecommitdiff
path: root/daemon/gdm-xdmcp-display.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2015-02-18 14:52:50 -0500
committerRay Strode <rstrode@redhat.com>2015-02-18 17:34:16 -0500
commitcafb4c402e41d4adc3124e443d98c10e98924aa2 (patch)
treea87f46fce548673341124f0db58f84c6f63db2c9 /daemon/gdm-xdmcp-display.c
parentc2769f06b55545a7a7c6217eb41ee403ef016b97 (diff)
downloadgdm-cafb4c402e41d4adc3124e443d98c10e98924aa2.tar.gz
launch-environment: add session-type property
The session-type property is analagous to the sd_login session type. It can be either "x11" or "wayland". This helps us decide whether to start a wayland session or an X session. https://bugzilla.gnome.org/show_bug.cgi?id=744764
Diffstat (limited to 'daemon/gdm-xdmcp-display.c')
-rw-r--r--daemon/gdm-xdmcp-display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gdm-xdmcp-display.c b/daemon/gdm-xdmcp-display.c
index b98f6b18..764bcfff 100644
--- a/daemon/gdm-xdmcp-display.c
+++ b/daemon/gdm-xdmcp-display.c
@@ -168,6 +168,7 @@ gdm_xdmcp_display_prepare (GdmDisplay *display)
if (launch_environment == NULL) {
launch_environment = gdm_create_greeter_launch_environment (display_name,
seat_id,
+ NULL,
hostname,
FALSE);
g_object_set (self, "launch-environment", launch_environment, NULL);