Commit 5a9af49

Anselm R. Garbe <arg@suckless.org>
2007-05-24 05:35:32
fixed issue reported by Christian Garbs
1 parent 32563ab
Changed files (1)
event.c
@@ -218,11 +218,10 @@ configurenotify(XEvent *e) {
 	if (ev->window == root && (ev->width != sw || ev->height != sh)) {
 		sw = ev->width;
 		sh = ev->height;
-		wah = sh - bh;
-		waw = sw;
 		XFreePixmap(dpy, dc.drawable);
 		dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen));
 		XResizeWindow(dpy, barwin, sw, bh);
+		updatebarpos();
 		lt->arrange();
 	}
 }