1
0
mirror of git://git.suckless.org/dwm synced 2024-12-16 20:25:01 +00:00

fixed issue reported by Christian Garbs

This commit is contained in:
Anselm R. Garbe 2007-05-24 11:35:32 +02:00
parent 32563abe86
commit 5a9af492ae

View File

@ -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();
}
}