fixed some other comments, now also the code side seems to be at a level to be reviewed by experienced programmers
--- a/main.c Mon Sep 11 10:00:56 2006 +0200
+++ b/main.c Mon Sep 11 11:28:28 2006 +0200
@@ -214,7 +214,7 @@
/*
* 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 @@
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