From: Ingo Bürk Date: Sun, 31 May 2015 14:27:58 +0000 (+0200) Subject: Use the introduced binding_mode_* colors to draw the binding mode. X-Git-Tag: 4.11~99^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0a0f59038ab1e836ee65b5123c23d97563a67bb8;p=i3%2Fi3 Use the introduced binding_mode_* colors to draw the binding mode. fixes #1732 --- diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index 099ea21a..b59288a0 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -1912,11 +1912,11 @@ void draw_bars(bool unhide) { if (binding.name && !config.disable_binding_mode_indicator) { workspace_width += logical_px(ws_spacing_px); - uint32_t fg_color = colors.urgent_ws_fg; - uint32_t bg_color = colors.urgent_ws_bg; + uint32_t fg_color = colors.binding_mode_fg; + uint32_t bg_color = colors.binding_mode_bg; uint32_t mask = XCB_GC_FOREGROUND | XCB_GC_BACKGROUND; - uint32_t vals_border[] = {colors.urgent_ws_border, colors.urgent_ws_border}; + uint32_t vals_border[] = {colors.binding_mode_border, colors.binding_mode_border}; xcb_change_gc(xcb_connection, outputs_walk->bargc, mask,