Add config option to disable preview outlines

This commit is contained in:
Flrian 2022-08-24 20:27:08 +02:00 committed by Johan Malm
parent 33bc37e7d0
commit c1490b632d
5 changed files with 12 additions and 1 deletions

View file

@ -193,7 +193,9 @@ osd_update(struct server *server)
cairo_rectangle(cairo, OSD_BORDER_WIDTH, y,
OSD_ITEM_WIDTH, OSD_ITEM_HEIGHT);
cairo_stroke(cairo);
osd_update_preview_outlines(view);
if (rc.cycle_preview_outlines) {
osd_update_preview_outlines(view);
}
break;
}
y += OSD_ITEM_HEIGHT;