Window switch, deference properly

This commit is contained in:
DonO 2024-03-12 09:44:19 -05:00
parent 000fc72340
commit 019299ae03

View file

@ -391,7 +391,7 @@ render_osd(struct server *server, cairo_t *cairo, int w, int h,
} }
buf_add(&buf, get_winfo(*view)); buf_add(&buf, get_winfo(*view));
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);
} }
break; break;