diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-05-24 11:35:32 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-05-24 11:35:32 +0200 |
commit | 5a9af492ae9fc6d28dc80bf3599d7eebda9136dd (patch) | |
tree | 799058f321f8f9937aa5a68b6db877f7d27ddf66 | |
parent | 32563abe86100150645c285c9a769257836bd86d (diff) | |
download | dwm-5a9af492ae9fc6d28dc80bf3599d7eebda9136dd.tar dwm-5a9af492ae9fc6d28dc80bf3599d7eebda9136dd.tar.gz dwm-5a9af492ae9fc6d28dc80bf3599d7eebda9136dd.tar.bz2 |
fixed issue reported by Christian Garbs
-rw-r--r-- | event.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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(); } } |