Merge pull request #1731 from Airblader/feature-indicator-pango

Allow pango markup for the binding indicator.
This commit is contained in:
Michael Stapelberg 2015-06-07 20:46:16 +02:00
commit 560d9a25d8
1 changed files with 1 additions and 1 deletions

View 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")) { if (!strcmp(params->cur_key, "change")) {
/* Save the name */ /* 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 */ /* Save its rendered width */
params->mode->width = predict_text_width(params->mode->name); params->mode->width = predict_text_width(params->mode->name);