From de9a3df7bdb0f964e2b3aaa83f5b35b998a51133 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Fri, 29 Oct 2021 09:33:06 -0400 Subject: [PATCH] classic: Add X-GNOME-SessionRegisters GDM has supported sessions registering with it for a few years now so it can know when to shut down the greeter. Having the GNOME Classic session declare that it will register itself allows GDM to avoid executing a fallback codepath. This has been supported with the regular GNOME session for a while, and this session was likely forgotten about when it was added there. (cherry picked from commit a79d2afb2d6119ae3a4d1eba020d6c35b3fece23) Part-of: --- data/gnome-classic.desktop.in | 1 + 1 file changed, 1 insertion(+) diff --git a/data/gnome-classic.desktop.in b/data/gnome-classic.desktop.in index 5df6821f..13da2b56 100644 --- a/data/gnome-classic.desktop.in +++ b/data/gnome-classic.desktop.in @@ -5,3 +5,4 @@ Exec=env GNOME_SHELL_SESSION_MODE=classic gnome-session TryExec=gnome-session Type=Application DesktopNames=GNOME-Classic;GNOME; +X-GDM-SessionRegisters=true