Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
d2d394e
)
fixed some other comments, now also the code side seems to be at a level to be review...
author
Anselm R. Garbe <
[email protected]
>
Mon, 11 Sep 2006 09:28:28 +0000
(11:28 +0200)
committer
Anselm R. Garbe <
[email protected]
>
Mon, 11 Sep 2006 09:28:28 +0000
(11:28 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
5e7b4a6
..
9d583b2
100644
(file)
--- 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
/*
* 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)
*/
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 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
}
int