fixed some other comments, now also the code side seems to be at a level to be reviewed by experienced programmers
parent
d2d394eccf
commit
b597fa4637
4
main.c
4
main.c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue