diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-12-29 17:11:51 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-12-29 17:11:51 +0000 |
| commit | abec4f4e710f3c1bf72c7e989221efc2e2a25e1e (patch) | |
| tree | a3aa1fd4a1b81c998cb6e4b9fcb7f853bdc015f7 /render.c | |
| parent | render: limit the unfocused block cursor’s outline width (diff) | |
render: csd: scale border width when rendering the CSD border’s visible part
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1787,8 +1787,9 @@ render_csd_border(struct terminal *term, enum csd_surface surf_idx, * The “visible” border. */ - int bwidth = term->conf->csd.border_width; - int vwidth = term->conf->csd.border_width_visible; /* Visibls size */ + int scale = term->scale; + int bwidth = term->conf->csd.border_width * scale; + int vwidth = term->conf->csd.border_width_visible * scale; /* Visible size */ xassert(bwidth >= vwidth); |
