mirror of
https://github.com/labwc/labwc.git
synced 2025-11-29 06:59:52 -05:00
src/osd/osd.c: fix indentations for switch-case
This commit is contained in:
parent
d65caf8bfd
commit
366cf3c995
1 changed files with 14 additions and 14 deletions
|
|
@ -334,27 +334,27 @@ update_osd(struct server *server)
|
||||||
/* Display the actual OSD */
|
/* Display the actual OSD */
|
||||||
switch (rc.window_switcher.output_criteria) {
|
switch (rc.window_switcher.output_criteria) {
|
||||||
case OSD_OUTPUT_ALL: {
|
case OSD_OUTPUT_ALL: {
|
||||||
struct output *output;
|
struct output *output;
|
||||||
wl_list_for_each(output, &server->outputs, link) {
|
wl_list_for_each(output, &server->outputs, link) {
|
||||||
update_osd_on_output(server, output, osd_impl, &views);
|
update_osd_on_output(server, output, osd_impl, &views);
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case OSD_OUTPUT_POINTER:
|
case OSD_OUTPUT_POINTER:
|
||||||
update_osd_on_output(server,
|
update_osd_on_output(server,
|
||||||
output_nearest_to_cursor(server), osd_impl, &views);
|
output_nearest_to_cursor(server), osd_impl, &views);
|
||||||
break;
|
break;
|
||||||
case OSD_OUTPUT_KEYBOARD: {
|
case OSD_OUTPUT_KEYBOARD: {
|
||||||
struct output *output;
|
struct output *output;
|
||||||
if (server->active_view) {
|
if (server->active_view) {
|
||||||
output = server->active_view->output;
|
output = server->active_view->output;
|
||||||
} else {
|
} else {
|
||||||
/* Fallback to pointer, if there is no active_view */
|
/* Fallback to pointer, if there is no active_view */
|
||||||
output = output_nearest_to_cursor(server);
|
output = output_nearest_to_cursor(server);
|
||||||
}
|
|
||||||
update_osd_on_output(server, output, osd_impl, &views);
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
update_osd_on_output(server, output, osd_impl, &views);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue