mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-13 05:33:51 -04:00
search: use wayl_win_subsurface_new/destroy()
This commit is contained in:
parent
587f04f2e1
commit
e049124f6d
5 changed files with 20 additions and 34 deletions
|
|
@ -2821,7 +2821,7 @@ term_surface_kind(const struct terminal *term, const struct wl_surface *surface)
|
|||
{
|
||||
if (likely(surface == term->window->surface))
|
||||
return TERM_SURF_GRID;
|
||||
else if (surface == term->window->search_surface)
|
||||
else if (surface == term->window->search_surface.surf)
|
||||
return TERM_SURF_SEARCH;
|
||||
else if (surface == term->window->scrollback_indicator_surface)
|
||||
return TERM_SURF_SCROLLBACK_INDICATOR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue