# HG changeset patch # User Anselm R Garbe # Date 1205918837 0 # Node ID 25e7987c7b180084752b3f5b7c335bfcf464abb2 # Parent 88e144ce65276a843a1746da28e9b1ca684ee1c7 updated configurenotify 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