]> git.sur5r.net Git - i3/i3/commitdiff
Allow pango markup for the binding indicator. 1731/head
authorIngo Bürk <ingo.buerk@tngtech.com>
Sun, 31 May 2015 10:35:47 +0000 (12:35 +0200)
committerIngo Bürk <ingo.buerk@tngtech.com>
Sun, 31 May 2015 10:35:47 +0000 (12:35 +0200)
i3bar/src/mode.c

index bae08913106ed9bc11409fba4c29878647a7eeaf..7f7537af7d086e6db8168df6943932fa6e5530f9 100644 (file)
@@ -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);