wayland: drop ‘_surface’ suffix from subsurface struct instances

This commit is contained in:
Daniel Eklöf 2021-02-12 12:00:40 +01:00
parent 438853a2d8
commit 5c8579043d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 42 additions and 43 deletions

View file

@ -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;