JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
added updatebarpos()
[dwm.git] / config.anselm.h
index 0e0d3be..f546941 100644 (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