updated configurenotify
authorAnselm R Garbe <garbeam@gmail.com>
Wed, 19 Mar 2008 09:27:17 +0000
changeset 1155 25e7987c7b18
parent 1154 88e144ce6527
child 1156 987c8d5c0bf8
updated configurenotify
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