diff options
author | Ray Strode <rstrode@redhat.com> | 2020-07-24 14:48:54 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2020-07-24 14:50:44 -0400 |
commit | ac083ec2d3d663a48c4aa6693978669243880dd0 (patch) | |
tree | 066cc7f262439f961c5c3b5f60cfd069858ff1db /daemon | |
parent | 0b4630fac16ad296084f66fe5df8e13cda8bd1f6 (diff) | |
download | gdm-ac083ec2d3d663a48c4aa6693978669243880dd0.tar.gz |
local-display-factory: don't require wayland support to kill X
commit d35805116113acbf1e112962c54785c604b13181 changed GDM to
kill X on login just like it does for wayland sessions.
Unfortunately, that commit neglected to pull the code out of the
ifdef ENABLE_WAYLAND_SUPPORT
endif
guards, so users who build without wayland support entirely, don't
get the feature.
This commit fixes that.
Closes: https://gitlab.gnome.org/GNOME/gdm/-/issues/614
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/gdm-local-display-factory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-local-display-factory.c b/daemon/gdm-local-display-factory.c index 4a1889e7..6dbdc6ed 100644 --- a/daemon/gdm-local-display-factory.c +++ b/daemon/gdm-local-display-factory.c @@ -663,7 +663,7 @@ lookup_by_tty (const char *id, return g_strcmp0 (tty_to_check, tty_to_find) == 0; } -#if defined(ENABLE_WAYLAND_SUPPORT) && defined(ENABLE_USER_DISPLAY_SERVER) +#if defined(ENABLE_USER_DISPLAY_SERVER) static void maybe_stop_greeter_in_background (GdmLocalDisplayFactory *factory, GdmDisplay *display) |