From 36f5a37777b6bf1d4e95c4a64cc96c06fdbd0be3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20B=C3=BCrk?= Date: Sun, 31 May 2015 12:35:47 +0200 Subject: [PATCH] Allow pango markup for the binding indicator. --- i3bar/src/mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3bar/src/mode.c b/i3bar/src/mode.c index bae08913..7f7537af 100644 --- a/i3bar/src/mode.c +++ b/i3bar/src/mode.c @@ -32,7 +32,7 @@ static int mode_string_cb(void *params_, const unsigned char *val, size_t len) { if (!strcmp(params->cur_key, "change")) { /* Save the name */ - params->mode->name = i3string_from_utf8_with_length((const char *)val, len); + params->mode->name = i3string_from_markup_with_length((const char *)val, len); /* Save its rendered width */ params->mode->width = predict_text_width(params->mode->name);