aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-12 08:27:11 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-12 08:27:11 +0200
commit1d7674bb22088c5dae110751bd57e75c141e3afb (patch)
tree15ae64de9cfac87bf7c4400be0c6a85c65bc26c0
parente6cc22396affaaacb8e256e5339ba6b0f9806cff (diff)
applied Christof Musik's multihead patch for a pathologic cornercase
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 9d583b2..f63a697 100644
--- 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);