about summary refs log tree commit diff
path: root/pkgs/by-name/ga/gamescope/gamescopereaper.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ga/gamescope/gamescopereaper.patch')
-rw-r--r--pkgs/by-name/ga/gamescope/gamescopereaper.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/by-name/ga/gamescope/gamescopereaper.patch b/pkgs/by-name/ga/gamescope/gamescopereaper.patch
new file mode 100644
index 0000000000000..8fabad10d3f0d
--- /dev/null
+++ b/pkgs/by-name/ga/gamescope/gamescopereaper.patch
@@ -0,0 +1,13 @@
+diff --git a/src/Utils/Process.cpp b/src/Utils/Process.cpp
+index 5688fb1..6cea8d8 100644
+--- a/src/Utils/Process.cpp
++++ b/src/Utils/Process.cpp
+@@ -392,7 +392,7 @@ namespace gamescope::Process
+     pid_t SpawnProcessInWatchdog( char **argv, bool bRespawn, std::function<void()> fnPreambleInChild )
+     {
+         std::vector<char *> args;
+-        args.push_back( (char *)"gamescopereaper" );
++        args.push_back( (char *)"@gamescopereaper@" );
+         if ( bRespawn )
+             args.push_back( (char *)"--respawn" );
+         args.push_back( (char *)"--" );