diff options
author | Anselm R Garbe <garbeam@gmail.com> | 2008-08-18 10:00:10 +0100 |
---|---|---|
committer | Anselm R Garbe <garbeam@gmail.com> | 2008-08-18 10:00:10 +0100 |
commit | 69c7b4b0baa19ef62ae514d06e8e870d87ab71b6 (patch) | |
tree | 47b6dd9112b217941a9b89365be8eba9ecd18510 | |
parent | 97699e5b1b8d50d2ec332c4643d69d666348d7e9 (diff) | |
download | dwm-69c7b4b0baa19ef62ae514d06e8e870d87ab71b6.tar.gz dwm-69c7b4b0baa19ef62ae514d06e8e870d87ab71b6.tar.bz2 dwm-69c7b4b0baa19ef62ae514d06e8e870d87ab71b6.zip |
changed order of variables in drawtext
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -569,8 +569,8 @@ drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]) { 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); |