summaryrefslogtreecommitdiff
path: root/dwm.png
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2023-04-09 12:37:14 +0200
committerRafael Marçalo <raroma09@gmail.com>2023-04-09 16:05:14 +0100
commit517db65affb6520ab2ec86702a29097fed808649 (patch)
treeae181bf2493bc9deec5aa5b117528e7f75b9c175 /dwm.png
parent80cd0c09bd19b0d7ff27c283ff24c281d4a6cdd0 (diff)
restore SIGCHLD sighandler to default before spawning a program
From sigaction(2): A child created via fork(2) inherits a copy of its parent's signal dispositions. During an execve(2), the dispositions of handled signals are reset to the default; the dispositions of ignored signals are left unchanged. This refused to start directly some programs from configuring in config.h: static Key keys[] = { MODKEY, XK_o, spawn, {.v = cmd } }, }; Some reported programs that didn't start were: mpv, anki, dmenu_extended. Reported by pfx. Initial patch suggestion by Storkman.
Diffstat (limited to 'dwm.png')
0 files changed, 0 insertions, 0 deletions