--- a/config.def.h Sun Apr 27 18:36:11 2008 +0100
+++ b/config.def.h Tue May 06 15:13:36 2008 +0100
@@ -22,10 +22,12 @@
/* func name bx by bw wx wy ww wh mx my mw mh tx ty tw th mox moy mow moh */
#define MFACT 0.55 /* master width factor [0.1 .. 0.9] */
DEFGEOM(single, 0, 0, sw, 0, bh, sw, sh-bh, wx, wy, mfact*ww, wh, mx+mw, wy, ww-mw, wh, wx, wy, ww, wh)
+DEFGEOM(dual, 0, 0,1280, 0, bh, ww, wh-bh, wx, wy, 1280,800-bh, 1280, 0, ww-mw, sh, mx, my, mw, mh)
Geom geoms[] = {
/* symbol function */
{ "[]", single }, /* first entry is default */
+ { "[][]", dual },
};
/* layout(s) */
--- a/dwm.c Sun Apr 27 18:36:11 2008 +0100
+++ b/dwm.c Tue May 06 15:13:36 2008 +0100
@@ -1851,6 +1851,7 @@
|| (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_GrabButton && ee->error_code == BadAccess)
|| (ee->request_code == X_GrabKey && ee->error_code == BadAccess)
|| (ee->request_code == X_CopyArea && ee->error_code == BadDrawable))
return 0;