JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed issue reported by Christian Garbs
authorAnselm R. Garbe <arg@suckless.org>
Thu, 24 May 2007 09:35:32 +0000 (11:35 +0200)
committerAnselm R. Garbe <arg@suckless.org>
Thu, 24 May 2007 09:35:32 +0000 (11:35 +0200)
event.c

diff --git a/event.c b/event.c
index 4c0e4e7..2773c6f 100644 (file)
--- a/event.c
+++ b/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();
        }
 }