fixed issue reported by Christian Garbs
Anselm R. Garbe arg@suckless.org
Thu, 24 May 2007 11:35:32 +0200
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
event.c
→
event.c
@@ -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(); } }