aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.def.h1
-rw-r--r--dwm.c2
2 files changed, 2 insertions, 1 deletions
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, "<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
--- 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;