Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d633bcc
)
Fix bar_print() so that the background of the text matches the bar color.
author
Reginald Kennedy
<rk@rejii.com>
Fri, 13 Jul 2012 18:08:09 +0000
(
02:08
+0800)
committer
Reginald Kennedy
<rk@rejii.com>
Fri, 20 Jul 2012 21:58:33 +0000
(
05:58
+0800)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
0c2495b
..
7fd6790
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-1502,6
+1502,8
@@
bar_print(struct swm_region *r, const char *s)
sizeof(rect), &rect);
/* draw back buffer */
+ gcv[0] = r->s->c[SWM_S_COLOR_BAR].color;
+ xcb_change_gc(conn, r->s->bar_gc, XCB_GC_BACKGROUND, gcv);
gcv[0] = r->s->c[SWM_S_COLOR_BAR_FONT].color;
xcb_change_gc(conn, r->s->bar_gc, XCB_GC_FOREGROUND, gcv);
xcb_image_text_8(conn, len, r->bar->buffer, r->s->bar_gc, x,