X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.anselm.h;h=aef59476a2e5ca156bd0c10773cf1ce26b3f2de3;hb=c19d4b2930379d0b966a1f082f9db2f3011bea76;hp=990575da8eddd593b35c1e7682523d1e9258f6d7;hpb=8aa1533879939c18c2475363db402b76b4205854;p=dwm.git diff --git a/config.anselm.h b/config.anselm.h index 990575d..aef5947 100644 --- a/config.anselm.h +++ b/config.anselm.h @@ -58,27 +58,26 @@ setanselmgeoms(void) { mx = wx; my = wy; mw = 1280; - mh = 800; + mh = 800 - bh; /* tile area */ tx = 1280; ty = 0; - tw = ww - 1280; - th = wh; + tw = sw - 1280; + th = sh; /* monocle area */ mox = mx; moy = my; mow = mw; moh = mh; - - updatebarpos(); } void anselmgeoms(const char *arg) { setgeoms = setanselmgeoms; setgeoms(); + updatebarpos(); setlayout("[]|"); } @@ -86,6 +85,7 @@ void defgeoms(const char *arg) { setgeoms = setdefaultgeoms; setgeoms(); + updatebarpos(); setlayout("[]="); }