shod

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3fd41bc28a28f75c9d3e9f2dadb7105a910753a6
parent 3c279fe284122503eb5e0aa24eaa7a74c0013b0f
Author: seninha <lucas@seninha.org>
Date:   Sat, 17 Sep 2022 08:51:47 -0300

better error reporting

Diffstat:
Mshod.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/shod.c b/shod.c @@ -85,8 +85,9 @@ xerror(Display *dpy, XErrorEvent *e) (e->request_code == 139 && e->error_code == 143)) return 0; - errx(1, "Fatal request. Request code=%d, error code=%d", e->request_code, e->error_code); + fprintf(stderr, "shod: "); return xerrorxlib(dpy, e); + exit(1); /* unreached */ } /* stop running */