]> git.sur5r.net Git - i3/i3/commitdiff
Use the introduced binding_mode_* colors to draw the binding mode. 1733/head
authorIngo Bürk <ingo.buerk@tngtech.com>
Sun, 31 May 2015 14:27:58 +0000 (16:27 +0200)
committerIngo Bürk <ingo.buerk@tngtech.com>
Mon, 1 Jun 2015 14:57:17 +0000 (16:57 +0200)
fixes #1732

i3bar/src/xcb.c

index 099ea21a3d4cc714b1857de27ad7e98b98109b78..b59288a0c32ad4f5e4b9bbe7f0a764e46e7511ed 100644 (file)
@@ -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,