mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: search: add todo to only position sub-surface on a window resize
This commit is contained in:
parent
b8d79c719b
commit
a29427a185
1 changed files with 1 additions and 0 deletions
1
render.c
1
render.c
|
|
@ -1211,6 +1211,7 @@ render_search_box(struct terminal *term)
|
|||
if (term->search.cursor >= term->search.len)
|
||||
draw_bar(term, buf->pix, font, &fg, x, y);
|
||||
|
||||
/* TODO: this is only necessary on a window resize */
|
||||
wl_subsurface_set_position(
|
||||
term->window->search_sub_surface,
|
||||
margin / scale,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue