diff options
| author | nsz@tpx <unknown> | 2009-09-07 11:46:02 +0200 |
|---|---|---|
| committer | nsz@tpx <unknown> | 2009-09-07 11:46:02 +0200 |
| commit | 9c066c24b3d0b7767651f0f403db2e4007a847c8 (patch) | |
| tree | 482f2d2130fbfb422a1f65b4686b9d1f6966a482 /dwm.c | |
| parent | another small optimisation (diff) | |
| download | dwm-9c066c24b3d0b7767651f0f403db2e4007a847c8.tar.gz dwm-9c066c24b3d0b7767651f0f403db2e4007a847c8.zip | |
always updategeom when root is configured
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -530,7 +530,7 @@ configurenotify(XEvent *e) { | |||
| 530 | Monitor *m; | 530 | Monitor *m; |
| 531 | XConfigureEvent *ev = &e->xconfigure; | 531 | XConfigureEvent *ev = &e->xconfigure; |
| 532 | 532 | ||
| 533 | if(ev->window == root && (ev->width != sw || ev->height != sh)) { | 533 | if(ev->window == root) { |
| 534 | sw = ev->width; | 534 | sw = ev->width; |
| 535 | sh = ev->height; | 535 | sh = ev->height; |
| 536 | updategeom(); | 536 | updategeom(); |
