+
+ if (new_block->min_width_str) {
+ i3String *text = i3string_from_utf8(new_block->min_width_str);
+ i3string_set_markup(text, new_block->is_markup);
+ new_block->min_width = (uint32_t)predict_text_width(text);
+ i3string_free(text);
+ }
+
+ i3string_set_markup(new_block->full_text, new_block->is_markup);
+ i3string_set_markup(new_block->short_text, new_block->is_markup);
+
+ TAILQ_INSERT_TAIL(&statusline_buffer, new_block, blocks);