summaryrefslogtreecommitdiff
path: root/daemon/gdm-launch-environment.c
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2018-08-31 15:52:07 -0400
committerRay Strode <rstrode@redhat.com>2018-08-31 17:05:53 -0400
commit365c58c0f4e4488496283005c5f800c27ad15d7c (patch)
tree6c18d742f6ee00de5b6a4239e736d7b1dbd1511c /daemon/gdm-launch-environment.c
parentc274ef84f51ed8a33d9ce286d6fd594e5808b315 (diff)
downloadgdm-365c58c0f4e4488496283005c5f800c27ad15d7c.tar.gz
launch-environment: use wayland for initial-setup
While we've been using wayland by default for the login screen for a long time, and for the user session for somewhat less time, we never switched initial setup over. It's still using X11 for no good reason. This commit changes initial-setup to use wayland by default like everything else.
Diffstat (limited to 'daemon/gdm-launch-environment.c')
-rw-r--r--daemon/gdm-launch-environment.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
index 897ddf46..788f3a1e 100644
--- a/daemon/gdm-launch-environment.c
+++ b/daemon/gdm-launch-environment.c
@@ -978,6 +978,7 @@ gdm_create_greeter_launch_environment (const char *display_name,
GdmLaunchEnvironment *
gdm_create_initial_setup_launch_environment (const char *display_name,
const char *seat_id,
+ const char *session_type,
const char *display_hostname,
gboolean display_is_local)
{
@@ -985,7 +986,7 @@ gdm_create_initial_setup_launch_environment (const char *display_name,
INITIAL_SETUP_USERNAME,
display_name,
seat_id,
- NULL,
+ session_type,
INITIAL_SETUP_SESSION_MODE,
display_hostname,
display_is_local);