X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=spectrwm.c;h=7fd6790fc40a87deb686d355fcd445c7eba768d9;hb=8d3f2ce997f12b5d93ff31e256c9ac42eb0faab3;hp=ce5a1f6a1d66483dc015f94003176bd56aee640a;hpb=a8b0f3678cb1715574383318d0561555d48e941b;p=spectrwm.git diff --git a/spectrwm.c b/spectrwm.c index ce5a1f6..7fd6790 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -145,6 +145,7 @@ static const char *buildstr = SPECTRWM_VERSION; #define xcb_icccm_get_wm_protocols xcb_get_wm_protocols #define xcb_icccm_get_wm_protocols_reply xcb_get_wm_protocols_reply #define xcb_icccm_get_wm_protocols_reply_t xcb_get_wm_protocols_reply_t +#define xcb_icccm_get_wm_protocols_reply_wipe xcb_get_wm_protocols_reply_wipe #define xcb_icccm_get_wm_transient_for xcb_get_wm_transient_for #define xcb_icccm_get_wm_transient_for_reply xcb_get_wm_transient_for_reply #define xcb_icccm_wm_hints_t xcb_wm_hints_t @@ -1501,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,