From 10a3281322e857034c1e65494bc1f3a1d0097386 Mon Sep 17 00:00:00 2001 From: John Lindgren Date: Sun, 7 Dec 2025 00:12:27 -0500 Subject: [PATCH] osd-classic: initialize struct fields in order --- src/cycle/osd-classic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cycle/osd-classic.c b/src/cycle/osd-classic.c index 9acf3064..944b9063 100644 --- a/src/cycle/osd-classic.c +++ b/src/cycle/osd-classic.c @@ -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, };