aboutsummaryrefslogtreecommitdiff
path: root/desktop/gdm/0003-add-wayland-session-script.patch
blob: c2fcc20df7a90cd931c54e98c8b0e5a0af0e9c1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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) {