X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=main.c;h=9d583b2823822ad8620a545a926220585be01ef1;hb=e6cc22396affaaacb8e256e5339ba6b0f9806cff;hp=5e7b4a63601f78978402ba04aae566eb4e36de23;hpb=15abade2720158fd35dcf59aa2cd5cbb325a849c;p=dwm.git diff --git a/main.c b/main.c index 5e7b4a6..9d583b2 100644 --- a/main.c +++ b/main.c @@ -214,7 +214,7 @@ quit(Arg *arg) /* * There's no way to check accesses to destroyed windows, thus those cases are * ignored (especially on UnmapNotify's). Other types of errors call Xlibs - * default error handler, which calls exit(). + * default error handler, which may call exit. */ int xerror(Display *dpy, XErrorEvent *ee) @@ -229,7 +229,7 @@ xerror(Display *dpy, XErrorEvent *ee) return 0; fprintf(stderr, "dwm: fatal error: request code=%d, error code=%d\n", ee->request_code, ee->error_code); - return xerrorxlib(dpy, ee); /* may call exit() */ + return xerrorxlib(dpy, ee); /* may call exit */ } int