slackbuilds_ponce/desktop/gdm/0003-add-wayland-session-script.patch
Bob Funk 6b65bd42d3
desktop/gdm: Updated for version 42.0.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-08-13 10:40:37 +07:00

18 lines
1,009 B
Diff

diff -Naur gdm-42.0/daemon/gdm-wayland-session.c gdm-42.0-patched/daemon/gdm-wayland-session.c
--- gdm-42.0/daemon/gdm-wayland-session.c 2022-08-08 23:41:59.415766201 -0500
+++ gdm-42.0-patched/daemon/gdm-wayland-session.c 2022-08-08 23:54:05.595800828 -0500
@@ -356,9 +356,11 @@
g_subprocess_launcher_setenv (launcher, "DBUS_SESSION_BUS_ADDRESS", state->bus_address, TRUE);
}
- subprocess = g_subprocess_launcher_spawnv (launcher,
- (const char * const *) argv,
- &error);
+ subprocess = g_subprocess_launcher_spawn (launcher,
+ &error,
+ GDMCONFDIR "/wayland-session",
+ state->session_command,
+ NULL);
g_strfreev (argv);
if (subprocess == NULL) {