osd: add osd.workspace-switcher.boxes.border.width

This commit is contained in:
Dmitry 2025-04-06 15:05:04 +04:00 committed by Johan Malm
parent 79b92d821f
commit 4f42b7a12b
5 changed files with 13 additions and 1 deletions

View file

@ -120,7 +120,8 @@ _osd_update(struct server *server)
.width = rect_width,
.height = rect_height,
};
draw_cairo_border(cairo, fbox, 2);
draw_cairo_border(cairo, fbox,
theme->osd_workspace_switcher_boxes_border_width);
if (active) {
cairo_rectangle(cairo, x, margin,
rect_width, rect_height);