summaryrefslogtreecommitdiffstats
path: root/desktop/gdm/0003-add-wayland-session-script.patch
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/gdm/0003-add-wayland-session-script.patch')
-rw-r--r--desktop/gdm/0003-add-wayland-session-script.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/desktop/gdm/0003-add-wayland-session-script.patch b/desktop/gdm/0003-add-wayland-session-script.patch
new file mode 100644
index 0000000000..c2fcc20df7
--- /dev/null
+++ b/desktop/gdm/0003-add-wayland-session-script.patch
@@ -0,0 +1,18 @@
+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) {