mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: csd: fix typo when CSDs are positioned *inside* main surface
This commit is contained in:
parent
020ce60778
commit
6eece79218
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -1174,7 +1174,7 @@ maybe_resize(struct terminal *term, int width, int height, bool force)
|
|||
const int csd_title = 0;
|
||||
#else
|
||||
const int csd_border = term->window->use_csd == CSD_YES ? csd_border_size * scale : 0;
|
||||
const int csd_title = term->window->use_csd == CSD_YES ? ? csd_title_size * scale : 0;
|
||||
const int csd_title = term->window->use_csd == CSD_YES ? csd_title_size * scale : 0;
|
||||
#endif
|
||||
|
||||
const int csd_x = 2 * csd_border;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue