From fa244aa7fbcb438193b17111724640be244543ad Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Sun, 11 May 2008 20:25:24 +0100 Subject: having monocle on Mod1-m --- config.def.h | 1 + dwm.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index c8e88de9..f7bb36a1 100644 --- a/config.def.h +++ b/config.def.h @@ -45,6 +45,7 @@ Key keys[] = { { MODKEY, XK_h, setmfact, "-0.05" }, { MODKEY, XK_l, setmfact, "+0.05" }, { MODKEY, XK_Return, zoom, NULL }, + { MODKEY, XK_m, setlayout, "" }, { MODKEY, XK_Tab, viewprevtag, NULL }, { MODKEY|ShiftMask, XK_c, killclient, NULL }, { MODKEY, XK_space, setlayout, NULL }, diff --git a/dwm.c b/dwm.c index db3eaaf3..37eb2990 100644 --- a/dwm.c +++ b/dwm.c @@ -1722,7 +1722,7 @@ updategeom(void) { /* window area geometry */ wx = sx; - wy = sy; + wy = sy + bh; ww = sw; wh = sh - bh; -- cgit v1.2.3