# HG changeset patch # User Anselm R Garbe # Date 1205412330 0 # Node ID fa19c918d25000fcaff5c75b277230bcfd8bdb1c # Parent a3a1d5c8a9ec82960b4757a1602519823e677a87 some cleanup diff -r a3a1d5c8a9ec -r fa19c918d250 config.anselm.h --- a/config.anselm.h Thu Mar 13 10:25:50 2008 +0000 +++ b/config.anselm.h Thu Mar 13 12:45:30 2008 +0000 @@ -71,14 +71,13 @@ moy = my; mow = mw; moh = mh; - - updatebarpos(); } void anselmgeoms(const char *arg) { setgeoms = setanselmgeoms; setgeoms(); + updatebarpos(); setlayout("[]|"); } @@ -86,6 +85,7 @@ defgeoms(const char *arg) { setgeoms = setdefaultgeoms; setgeoms(); + updatebarpos(); setlayout("[]="); } diff -r a3a1d5c8a9ec -r fa19c918d250 dwm.c --- a/dwm.c Thu Mar 13 10:25:50 2008 +0000 +++ b/dwm.c Thu Mar 13 12:45:30 2008 +0000 @@ -408,6 +408,7 @@ if(ev->window == root && (ev->width != sw || ev->height != sh)) { setgeoms(); + updatebarpos(); arrange(); } } @@ -1415,8 +1416,6 @@ moy = wy; mow = ww; moh = wh; - - updatebarpos(); } void