mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
wayland: drop ‘_surface’ suffix from subsurface struct instances
This commit is contained in:
parent
438853a2d8
commit
5c8579043d
5 changed files with 42 additions and 43 deletions
5
search.c
5
search.c
|
|
@ -81,7 +81,7 @@ static void
|
|||
search_cancel_keep_selection(struct terminal *term)
|
||||
{
|
||||
struct wl_window *win = term->window;
|
||||
wayl_win_subsurface_destroy(&win->search_surface);
|
||||
wayl_win_subsurface_destroy(&win->search);
|
||||
|
||||
free(term->search.buf);
|
||||
term->search.buf = NULL;
|
||||
|
|
@ -118,8 +118,7 @@ search_begin(struct terminal *term)
|
|||
}
|
||||
|
||||
/* On-demand instantiate wayland surface */
|
||||
bool ret = wayl_win_subsurface_new(
|
||||
term->window, &term->window->search_surface);
|
||||
bool ret = wayl_win_subsurface_new(term->window, &term->window->search);
|
||||
xassert(ret);
|
||||
|
||||
term->search.original_view = term->grid->view;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue