aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsz@tpx <unknown>2009-09-07 11:46:02 +0200
committernsz@tpx <unknown>2009-09-07 11:46:02 +0200
commit9c066c24b3d0b7767651f0f403db2e4007a847c8 (patch)
tree482f2d2130fbfb422a1f65b4686b9d1f6966a482
parent0a668922a4de625d128a362d102844e33e36ae1c (diff)
always updategeom when root is configured
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index f7e9e84..7a4600f 100644
--- a/dwm.c
+++ b/dwm.c
@@ -530,7 +530,7 @@ configurenotify(XEvent *e) {
Monitor *m;
XConfigureEvent *ev = &e->xconfigure;
- if(ev->window == root && (ev->width != sw || ev->height != sh)) {
+ if(ev->window == root) {
sw = ev->width;
sh = ev->height;
updategeom();