aboutsummaryrefslogtreecommitdiff
path: root/monsterwm.c
diff options
context:
space:
mode:
authorIvan Kanakarakis <ivan.kanak@gmail.com>2011-12-18 13:04:32 +0200
committerIvan Kanakarakis <ivan.kanak@gmail.com>2011-12-18 13:04:32 +0200
commit187368eb0db7751f6ab8af252a40a9d20b270099 (patch)
treef9ce073d5ae7e85e5ed9f3c1d50d6749b7ac9b88 /monsterwm.c
parenta02ce96a06a8b14d5b0a1399995557ab4ee7a147 (diff)
fix a comment on xerror() function
Diffstat (limited to 'monsterwm.c')
-rw-r--r--monsterwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/monsterwm.c b/monsterwm.c
index fadb2bb..58a3959 100644
--- a/monsterwm.c
+++ b/monsterwm.c
@@ -663,7 +663,7 @@ void update_current(void) {
/* 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 may call exit. */
+ * default error handler, which may call exit through xerrorlib. */
int xerror(Display *dis, XErrorEvent *ee) {
if(ee->error_code == BadWindow
|| (ee->error_code == BadMatch && (ee->request_code == X_SetInputFocus || ee->request_code == X_ConfigureWindow))
@@ -672,7 +672,7 @@ int xerror(Display *dis, XErrorEvent *ee) {
|| (ee->error_code == BadAccess && ee->request_code == X_GrabKey))
return 0;
fprintf(stderr, "error: xerror: request code: %d, error code: %d\n", ee->request_code, ee->error_code);
- return xerrorxlib(dis, ee); /* may call exit */
+ return xerrorxlib(dis, ee);
}
int xerrorstart() {