fixed issue reported by Christian Garbs - dwm - dynamic window manager HTML git clone https://git.parazyd.org/dwm DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 5a9af492ae9fc6d28dc80bf3599d7eebda9136dd DIR parent 32563abe86100150645c285c9a769257836bd86d HTML Author: Anselm R. Garbe <arg@suckless.org> Date: Thu, 24 May 2007 11:35:32 +0200 fixed issue reported by Christian Garbs Diffstat: M event.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git 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(); } }