Browse Source

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

main
Anselm R. Garbe 18 years ago
parent
commit
b597fa4637
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      main.c

+ 2
- 2
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


Loading…
Cancel
Save