fixed some other comments, now also the code side seems to be at a level to be reviewed by experienced programmers

This commit is contained in:
Anselm R. Garbe 2006-09-11 11:28:28 +02:00
parent d2d394eccf
commit b597fa4637
1 changed files with 2 additions and 2 deletions

4
main.c
View File

@ -214,7 +214,7 @@ quit(Arg *arg)
/* /*
* There's no way to check accesses to destroyed windows, thus those cases are * 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 * 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 int
xerror(Display *dpy, XErrorEvent *ee) xerror(Display *dpy, XErrorEvent *ee)
@ -229,7 +229,7 @@ xerror(Display *dpy, XErrorEvent *ee)
return 0; return 0;
fprintf(stderr, "dwm: fatal error: request code=%d, error code=%d\n", fprintf(stderr, "dwm: fatal error: request code=%d, error code=%d\n",
ee->request_code, ee->error_code); ee->request_code, ee->error_code);
return xerrorxlib(dpy, ee); /* may call exit() */ return xerrorxlib(dpy, ee); /* may call exit */
} }
int int