changed order of variables in drawtext
Anselm R Garbe garbeam@gmail.com
Mon, 18 Aug 2008 10:00:10 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -569,8 +569,8 @@
void drawtext(const char *text, unsigned long col[ColLast], Bool invert) { int i, x, y, h, len, olen; - XRectangle r = { dc.x, dc.y, dc.w, dc.h }; char buf[256]; + XRectangle r = { dc.x, dc.y, dc.w, dc.h }; XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]); XFillRectangles(dpy, dc.drawable, dc.gc, &r, 1);