diff -r 88e144ce6527 -r 25e7987c7b18 dwm.c --- a/dwm.c Mon Mar 17 23:45:46 2008 +0000 +++ b/dwm.c Wed Mar 19 09:27:17 2008 +0000 @@ -423,8 +423,11 @@ configurenotify(XEvent *e) { XConfigureEvent *ev = &e->xconfigure; - if(ev->window == root && (ev->width != sw || ev->height != sh)) + if(ev->window == root && (ev->width != sw || ev->height != sh)) { + sw = ev->width; + sh = ev->height; setgeom(NULL); + } } void