diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-03-13 12:45:30 +0000 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-03-13 12:45:30 +0000 |
| commit | c19d4b2930379d0b966a1f082f9db2f3011bea76 (patch) | |
| tree | 60f8a61a2ebd8a54ae12d0fbe06e01d3aa50ab72 | |
| parent | updated my geoms function (diff) | |
| download | dwm-c19d4b2930379d0b966a1f082f9db2f3011bea76.tar.gz dwm-c19d4b2930379d0b966a1f082f9db2f3011bea76.zip | |
some cleanup
Diffstat (limited to '')
| -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 |
