diff options
| -rw-r--r-- | config.anselm.h | 4 | ||||
| -rw-r--r-- | dwm.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/config.anselm.h b/config.anselm.h index 77af948..aef5947 100644 --- a/config.anselm.h +++ b/config.anselm.h | |||
| @@ -71,14 +71,13 @@ setanselmgeoms(void) { | |||
| 71 | moy = my; | 71 | moy = my; |
| 72 | mow = mw; | 72 | mow = mw; |
| 73 | moh = mh; | 73 | moh = mh; |
| 74 | |||
| 75 | updatebarpos(); | ||
| 76 | } | 74 | } |
| 77 | 75 | ||
| 78 | void | 76 | void |
| 79 | anselmgeoms(const char *arg) { | 77 | anselmgeoms(const char *arg) { |
| 80 | setgeoms = setanselmgeoms; | 78 | setgeoms = setanselmgeoms; |
| 81 | setgeoms(); | 79 | setgeoms(); |
| 80 | updatebarpos(); | ||
| 82 | setlayout("[]|"); | 81 | setlayout("[]|"); |
| 83 | } | 82 | } |
| 84 | 83 | ||
| @@ -86,6 +85,7 @@ void | |||
| 86 | defgeoms(const char *arg) { | 85 | defgeoms(const char *arg) { |
| 87 | setgeoms = setdefaultgeoms; | 86 | setgeoms = setdefaultgeoms; |
| 88 | setgeoms(); | 87 | setgeoms(); |
| 88 | updatebarpos(); | ||
| 89 | setlayout("[]="); | 89 | setlayout("[]="); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| @@ -408,6 +408,7 @@ configurenotify(XEvent *e) { | |||
| 408 | 408 | ||
| 409 | if(ev->window == root && (ev->width != sw || ev->height != sh)) { | 409 | if(ev->window == root && (ev->width != sw || ev->height != sh)) { |
| 410 | setgeoms(); | 410 | setgeoms(); |
| 411 | updatebarpos(); | ||
| 411 | arrange(); | 412 | arrange(); |
| 412 | } | 413 | } |
| 413 | } | 414 | } |
| @@ -1415,8 +1416,6 @@ setdefaultgeoms(void) { | |||
| 1415 | moy = wy; | 1416 | moy = wy; |
| 1416 | mow = ww; | 1417 | mow = ww; |
| 1417 | moh = wh; | 1418 | moh = wh; |
| 1418 | |||
| 1419 | updatebarpos(); | ||
| 1420 | } | 1419 | } |
| 1421 | 1420 | ||
| 1422 | void | 1421 | void |
