summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/event.c b/event.c
index 4c0e4e77..2773c6f3 100644
--- 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();
}
}