Window switcher, cleanup code

This commit is contained in:
DonO 2024-03-12 16:49:38 -05:00
parent a046a30ea5
commit 17573765d6

View file

@ -399,6 +399,8 @@ render_osd(struct server *server, cairo_t *cairo, int w, int h,
if (wl_list_length(&server->outputs) > 1 && if (wl_list_length(&server->outputs) > 1 &&
output_is_usable((*view)->output)) { output_is_usable((*view)->output)) {
buf_add(&buf, (*view)->output->wlr_output->name); buf_add(&buf, (*view)->output->wlr_output->name);
} else {
buf_add(&buf, " ");
} }
break; break;
case LAB_FIELD_IDENTIFIER: case LAB_FIELD_IDENTIFIER: