commit 024929a4911dadd920e2a23d67c4aed8df238bd0
parent 6241a283ae8a80a0128ebd14e4ed319a332a3113
Author: Lucas de Sena <lucas@seninha.org>
Date: Sat, 14 Jan 2023 17:06:12 -0300
fix bug introduced in #28
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shod.c b/shod.c
@@ -278,7 +278,7 @@ autostart(char *filename)
static void
checkotherwm(void)
{
- xerrorxlib = XSetErrorHandler(xerrorstart);
+ (void)XSetErrorHandler(xerrorstart);
XSelectInput(dpy, root, ROOT_EVENTS);
XSync(dpy, False);
XSetErrorHandler(xerror);