projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
087a55f
)
abc...
author
Anselm R Garbe
<garbeam@gmail.com>
Mon, 18 Aug 2008 09:21:24 +0000
(10:21 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Mon, 18 Aug 2008 09:21:24 +0000
(10:21 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index dcd6e317b89ad081ad2aa167cfd500b364594759..14cf3f9b70933117b25b0e20456974d4cac887fd 100644
(file)
--- 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]);