tree-wide: use markup only when an accelerator is defined with _

This commit is contained in:
Alex Chernika 2026-04-15 00:15:12 +02:00
parent 58fa089749
commit c6681876b5
No known key found for this signature in database
GPG key ID: 6029FAD8ABFB076A
8 changed files with 23 additions and 23 deletions

View file

@ -58,8 +58,8 @@ create_fields_scene(struct view *view,
struct scaled_font_buffer *font_buffer =
scaled_font_buffer_create(parent);
scaled_font_buffer_update(font_buffer,
buf.data, field_width,
&rc.font_osd, text_color, bg_color);
buf.data, field_width, &rc.font_osd,
text_color, bg_color, false);
node = &font_buffer->scene_buffer->node;
height = font_height(&rc.font_osd);
}
@ -143,7 +143,7 @@ cycle_osd_classic_init(struct cycle_osd_output *osd_output)
wlr_scene_node_set_position(&font_buffer->scene_buffer->node,
x, y + (switcher_theme->item_height - font_height(&font)) / 2);
scaled_font_buffer_update(font_buffer, workspace_name, 0,
&font, text_color, bg_color);
&font, text_color, bg_color, false);
y += switcher_theme->item_height;
}