aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-08-18 10:21:24 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-08-18 10:21:24 +0100
commitbfa5869da154a0bd356d31cb7fe0d7b97fbc4e9d (patch)
tree822c1bfe92d855a5c9b8a4cb7f4e4a12b58f61d2 /dwm.c
parent087a55f8d35f72560c5a266ee0eb91417e6f58fc (diff)
downloaddwm-bfa5869da154a0bd356d31cb7fe0d7b97fbc4e9d.tar.gz
abc...
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index dcd6e31..14cf3f9 100644
--- a/dwm.c
+++ b/dwm.c
@@ -568,8 +568,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;
char buf[256];
+ int i, x, y, h, len, olen;
XRectangle r = { dc.x, dc.y, dc.w, dc.h };
XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]);
remember that computers suck.