author | Anselm R. Garbe <arg@suckless.org> |
Thu, 24 May 2007 11:35:32 +0200 | |
changeset 897 | 0a78c9e46e24 |
parent 896 | 9fb6e8e6715b |
child 898 | 6c8b43d7b616 |
--- a/event.c Wed May 23 22:33:46 2007 +0200 +++ b/event.c Thu May 24 11:35:32 2007 +0200 @@ -218,11 +218,10 @@ 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(); } }