summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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) {
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();