From 0a0f59038ab1e836ee65b5123c23d97563a67bb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20B=C3=BCrk?= Date: Sun, 31 May 2015 16:27:58 +0200 Subject: [PATCH] Use the introduced binding_mode_* colors to draw the binding mode. fixes #1732 --- i3bar/src/xcb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,