diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-29 00:07:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-29 00:07:15 +0100 |
commit | 5c4786a868bad6e3f46aecf32ad6c6dc5de98408 (patch) | |
tree | 1a1792815761a5b6f645c8d55b6b698e102dca48 /x11-misc/libinput-gestures/files | |
parent | 3c1648a0749c1d66b300d857e6b417c1162890da (diff) |
gentoo auto-resync : 29:05:2024 - 00:07:15
Diffstat (limited to 'x11-misc/libinput-gestures/files')
-rw-r--r-- | x11-misc/libinput-gestures/files/libinput-gestures-2.76-zombie.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/x11-misc/libinput-gestures/files/libinput-gestures-2.76-zombie.patch b/x11-misc/libinput-gestures/files/libinput-gestures-2.76-zombie.patch new file mode 100644 index 000000000000..231b78dd092f --- /dev/null +++ b/x11-misc/libinput-gestures/files/libinput-gestures-2.76-zombie.patch @@ -0,0 +1,22 @@ +# https://github.com/bulletmark/libinput-gestures/pull/242 +# https://github.com/bulletmark/libinput-gestures/issues/334 +--- ../libinput-gestures 2024-05-05 22:27:48.297359689 +0300 ++++ ../libinput-gestures 2024-05-05 22:29:17.473224613 +0300 +@@ -10,6 +10,7 @@ + import platform + import re + import shlex ++import signal + import subprocess + import sys + import threading +@@ -781,6 +782,9 @@ + cmd = subprocess.Popen(shlex.split(command), stdout=subprocess.PIPE, + bufsize=1, universal_newlines=True) + ++ # Avoid producing zombie processes ++ signal.signal(signal.SIGCHLD, signal.SIG_IGN) ++ + # Store PIDs for potential kill + pidfile.write(f'{os.getpid()}\n{cmd.pid}\n') + pidfile.flush() |