Xinqi Bao's Git
2 * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
3 * See LICENSE file for license details.
11 brush
.x
= brush
.y
= 0;
14 draw(dpy
, &brush
, False
, NULL
);
17 brush
.w
= textw(&brush
.font
, stack
->name
) + bh
;
18 swap((void **)&brush
.fg
, (void **)&brush
.bg
);
19 draw(dpy
, &brush
, True
, stack
->name
);
20 swap((void **)&brush
.fg
, (void **)&brush
.bg
);
24 brush
.w
= textw(&brush
.font
, statustext
) + bh
;
25 brush
.x
= bx
+ bw
- brush
.w
;
26 draw(dpy
, &brush
, False
, statustext
);
27 XCopyArea(dpy
, brush
.drawable
, barwin
, brush
.gc
, 0, 0, bw
, bh
, 0, 0);