abc...
This commit is contained in:
parent
087a55f8d3
commit
bfa5869da1
2
dwm.c
2
dwm.c
@ -568,8 +568,8 @@ drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]) {
|
|||||||
|
|
||||||
void
|
void
|
||||||
drawtext(const char *text, unsigned long col[ColLast], Bool invert) {
|
drawtext(const char *text, unsigned long col[ColLast], Bool invert) {
|
||||||
int i, x, y, h, len, olen;
|
|
||||||
char buf[256];
|
char buf[256];
|
||||||
|
int i, x, y, h, len, olen;
|
||||||
XRectangle r = { dc.x, dc.y, dc.w, dc.h };
|
XRectangle r = { dc.x, dc.y, dc.w, dc.h };
|
||||||
|
|
||||||
XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]);
|
XSetForeground(dpy, dc.gc, col[invert ? ColFG : ColBG]);
|
||||||
|
Loading…
Reference in New Issue
Block a user