aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-05-11 20:25:24 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-05-11 20:25:24 +0100
commitfa244aa7fbcb438193b17111724640be244543ad (patch)
treeb6c5d3272edb215116a4c377559bb8d6dc9b29df
parent7ac4f8a4afd9766d485b03bff4c6cc02cbe3696c (diff)
downloaddwm-fa244aa7fbcb438193b17111724640be244543ad.tar.gz
dwm-fa244aa7fbcb438193b17111724640be244543ad.tar.bz2
dwm-fa244aa7fbcb438193b17111724640be244543ad.zip
having monocle on Mod1-m
-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;