Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
added updatebarpos()
[dwm.git]
/
config.anselm.h
diff --git
a/config.anselm.h
b/config.anselm.h
index
0e0d3be
..
f546941
100644
(file)
--- a/
config.anselm.h
+++ b/
config.anselm.h
@@
-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