osd-classic: initialize struct fields in order

This commit is contained in:
John Lindgren 2025-12-07 00:12:27 -05:00 committed by Hiroaki Yamamoto
parent 1b22bf3d5a
commit 10a3281322

View file

@ -193,9 +193,9 @@ cycle_osd_classic_create(struct output *output)
/* Highlight around selected window's item */
struct lab_scene_rect_options highlight_opts = {
.border_colors = (float *[1]) {active_border_color},
.bg_color = active_bg_color,
.nr_borders = 1,
.border_width = switcher_theme->item_active_border_width,
.bg_color = active_bg_color,
.width = w - 2 * padding,
.height = switcher_theme->item_height,
};