diff options
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 2 | ||||
| -rw-r--r-- | dwm.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 42f00ae..ed3f624 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -22,10 +22,12 @@ Rule rules[] = { | |||
| 22 | /* func name bx by bw wx wy ww wh mx my mw mh tx ty tw th mox moy mow moh */ | 22 | /* func name bx by bw wx wy ww wh mx my mw mh tx ty tw th mox moy mow moh */ |
| 23 | #define MFACT 0.55 /* master width factor [0.1 .. 0.9] */ | 23 | #define MFACT 0.55 /* master width factor [0.1 .. 0.9] */ |
| 24 | 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) | 24 | 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) |
| 25 | DEFGEOM(dual, 0, 0,1280, 0, bh, ww, wh-bh, wx, wy, 1280,800-bh, 1280, 0, ww-mw, sh, mx, my, mw, mh) | ||
| 25 | 26 | ||
| 26 | Geom geoms[] = { | 27 | Geom geoms[] = { |
| 27 | /* symbol function */ | 28 | /* symbol function */ |
| 28 | { "[]", single }, /* first entry is default */ | 29 | { "[]", single }, /* first entry is default */ |
| 30 | { "[][]", dual }, | ||
| 29 | }; | 31 | }; |
| 30 | 32 | ||
| 31 | /* layout(s) */ | 33 | /* layout(s) */ |
| @@ -1851,6 +1851,7 @@ xerror(Display *dpy, XErrorEvent *ee) { | |||
| 1851 | || (ee->request_code == X_PolyFillRectangle && ee->error_code == BadDrawable) | 1851 | || (ee->request_code == X_PolyFillRectangle && ee->error_code == BadDrawable) |
| 1852 | || (ee->request_code == X_PolySegment && ee->error_code == BadDrawable) | 1852 | || (ee->request_code == X_PolySegment && ee->error_code == BadDrawable) |
| 1853 | || (ee->request_code == X_ConfigureWindow && ee->error_code == BadMatch) | 1853 | || (ee->request_code == X_ConfigureWindow && ee->error_code == BadMatch) |
| 1854 | || (ee->request_code == X_GrabButton && ee->error_code == BadAccess) | ||
| 1854 | || (ee->request_code == X_GrabKey && ee->error_code == BadAccess) | 1855 | || (ee->request_code == X_GrabKey && ee->error_code == BadAccess) |
| 1855 | || (ee->request_code == X_CopyArea && ee->error_code == BadDrawable)) | 1856 | || (ee->request_code == X_CopyArea && ee->error_code == BadDrawable)) |
| 1856 | return 0; | 1857 | return 0; |
