From: Anselm R Garbe Date: Sun, 11 May 2008 19:25:24 +0000 (+0100) Subject: having monocle on Mod1-m X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=fa244aa7fbcb438193b17111724640be244543ad;p=dwm.git having monocle on Mod1-m --- diff --git a/config.def.h b/config.def.h index c8e88de..f7bb36a 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 db3eaaf..37eb299 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;