From 366cf3c99530debc309b7a5fc7ca6c5924fff8e8 Mon Sep 17 00:00:00 2001 From: tokyo4j Date: Tue, 11 Nov 2025 19:59:30 +0900 Subject: [PATCH] src/osd/osd.c: fix indentations for switch-case --- src/osd/osd.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/osd/osd.c b/src/osd/osd.c index 3f2d8074..149f8d42 100644 --- a/src/osd/osd.c +++ b/src/osd/osd.c @@ -334,27 +334,27 @@ update_osd(struct server *server) /* Display the actual OSD */ switch (rc.window_switcher.output_criteria) { case OSD_OUTPUT_ALL: { - struct output *output; - wl_list_for_each(output, &server->outputs, link) { - update_osd_on_output(server, output, osd_impl, &views); - } - break; + struct output *output; + wl_list_for_each(output, &server->outputs, link) { + update_osd_on_output(server, output, osd_impl, &views); } + break; + } case OSD_OUTPUT_POINTER: update_osd_on_output(server, output_nearest_to_cursor(server), osd_impl, &views); break; case OSD_OUTPUT_KEYBOARD: { - struct output *output; - if (server->active_view) { - output = server->active_view->output; - } else { - /* Fallback to pointer, if there is no active_view */ - output = output_nearest_to_cursor(server); - } - update_osd_on_output(server, output, osd_impl, &views); - break; + struct output *output; + if (server->active_view) { + output = server->active_view->output; + } else { + /* Fallback to pointer, if there is no active_view */ + output = output_nearest_to_cursor(server); } + update_osd_on_output(server, output, osd_impl, &views); + break; + } } }