applied Christof Musik's multihead patch for a pathologic cornercase
authorAnselm R. Garbe <arg@10kloc.org>
Tue, 12 Sep 2006 06:27:11 +0000 (08:27 +0200)
committerAnselm R. Garbe <arg@10kloc.org>
Tue, 12 Sep 2006 06:27:11 +0000 (08:27 +0200)
main.c

diff --git a/main.c b/main.c
index 9d583b2..f63a697 100644 (file)
--- a/main.c
+++ b/main.c
@@ -225,7 +225,8 @@ xerror(Display *dpy, XErrorEvent *ee)
        || (ee->request_code == X_PolyFillRectangle && ee->error_code == BadDrawable)
        || (ee->request_code == X_PolySegment && ee->error_code == BadDrawable)
        || (ee->request_code == X_ConfigureWindow && ee->error_code == BadMatch)
-       || (ee->request_code == X_GrabKey && ee->error_code == BadAccess))
+       || (ee->request_code == X_GrabKey && ee->error_code == BadAccess)
+       || (ee->request_code == X_CopyArea && ee->error_code == BadDrawable))
                return 0;
        fprintf(stderr, "dwm: fatal error: request code=%d, error code=%d\n",
                ee->request_code, ee->error_code);