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
parent acbc04ed
......@@ -221,6 +221,8 @@ gdm_local_display_factory_create_transient_display (GdmLocalDisplayFactory *fact
display = gdm_local_display_new ();
if (gdm_local_display_factory_use_wayland ())
g_object_set (G_OBJECT (display), "session-type", "wayland", NULL);
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