xwayland: Invert running-as-gdm check

It was accidentally inverted previously. Lets change it back.
This commit is contained in:
Jonas Ådahl 2018-11-22 17:59:58 +01:00 committed by Georges Basile Stavracas Neto
parent 332360be7c
commit 0a178a01b3

View File

@ -388,7 +388,7 @@ choose_xdisplay (MetaXWaylandManager *manager)
if (display_number_override != -1)
display = display_number_override;
else if (!g_getenv ("RUNNING_UNDER_GDM"))
else if (g_getenv ("RUNNING_UNDER_GDM"))
display = 1024;
do