having monocle on Mod1-m
authorAnselm R Garbe <garbeam@gmail.com>
Sun, 11 May 2008 19:25:24 +0000 (20:25 +0100)
committerAnselm R Garbe <garbeam@gmail.com>
Sun, 11 May 2008 19:25:24 +0000 (20:25 +0100)
config.def.h
dwm.c

index c8e88de..f7bb36a 100644 (file)
@@ -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,      "<M>" },
        { 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 (file)
--- 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;