added updatebarpos()

This commit is contained in:
Anselm R Garbe
2008-03-13 10:19:05 +00:00
parent 95eae7b9d2
commit 02673538bc
2 changed files with 12 additions and 8 deletions

View File

@ -72,10 +72,7 @@ setanselmgeoms(void) {
mow = mw;
moh = mh;
if(dc.drawable != 0)
XFreePixmap(dpy, dc.drawable);
dc.drawable = XCreatePixmap(dpy, root, bw, bh, DefaultDepth(dpy, screen));
XMoveResizeWindow(dpy, barwin, bx, by, bw, bh);
updatebarpos();
}
void