mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
osd: use theme->osd_border_width for focused item
This commit is contained in:
parent
df53c28a0f
commit
b200dd2e7b
4 changed files with 68 additions and 21 deletions
|
|
@ -91,7 +91,11 @@ _osd_update(struct server *server)
|
|||
|
||||
/* Border */
|
||||
set_cairo_color(cairo, theme->osd_border_color);
|
||||
draw_cairo_border(cairo, width, height, theme->osd_border_width);
|
||||
struct wlr_fbox fbox = {
|
||||
.width = width,
|
||||
.height = height,
|
||||
};
|
||||
draw_cairo_border(cairo, fbox, theme->osd_border_width);
|
||||
|
||||
uint16_t x = (width - marker_width) / 2;
|
||||
wl_list_for_each(workspace, &server->workspaces, link) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue