dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit 16a49e99557563252b9f91db767b431e2238f587
parent 30c24a53ad2aaa842bc3b028ba0b98e3362dad7c
Author: Dima Krasner <dima@dimakrasner.com>
Date:   Sat,  3 Dec 2022 12:06:29 +0200

fix null deref in sigchld() if Xwayland is disabled

Diffstat:
Mdwl.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dwl.c b/dwl.c @@ -2543,7 +2543,7 @@ sigchld(int unused) * XWayland process */ while (!waitid(P_ALL, 0, &in, WEXITED|WNOHANG|WNOWAIT) && in.si_pid - && in.si_pid != xwayland->server->pid) + && (!xwayland || in.si_pid != xwayland->server->pid)) waitpid(in.si_pid, NULL, 0); }