X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=config.anselm.h;h=aef59476a2e5ca156bd0c10773cf1ce26b3f2de3;hb=f2e98f48fb3cb7558d705ba581767caccb4ea7be;hp=937ab8128f209677b3c03fd441333f7272e93557;hpb=2fc9cffdeb96dabd52bff22359a0091e1f1e2e4f;p=dwm.git diff --git a/config.anselm.h b/config.anselm.h index 937ab81..aef5947 100644 --- a/config.anselm.h +++ b/config.anselm.h @@ -58,32 +58,34 @@ 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("[]|"); } void defgeoms(const char *arg) { setgeoms = setdefaultgeoms; + setgeoms(); + updatebarpos(); setlayout("[]="); }