Commit 039b03cc authored by Hans de Goede's avatar Hans de Goede Committed by Ray Strode

local-display-factory: Use correct session-type for new transient displays

Use the new gdm_local_display_factory_use_wayland() helper to correctly
set the session-type properties for displays created through
gdm_local_display_factory_create_transient_display().
parent acbc04ed
......@@ -221,6 +221,8 @@ gdm_local_display_factory_create_transient_display (GdmLocalDisplayFactory *fact
#ifdef ENABLE_USER_DISPLAY_SERVER
display = gdm_local_display_new ();
if (gdm_local_display_factory_use_wayland ())
g_object_set (G_OBJECT (display), "session-type", "wayland", NULL);
#else
if (display == NULL) {
guint32 num;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment