diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-12 11:00:40 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-17 20:48:08 +0000 |
| commit | 5c8579043dd22a08e872d90a20011f5d6d8d3dc1 (patch) | |
| tree | 1f0a4b0ab0bdbd636e650ef672ec82bba2873141 /search.c | |
| parent | render-timer: use wayl_win_subsurface_new/destroy() (diff) | |
wayland: drop ‘_surface’ suffix from subsurface struct instances
Diffstat (limited to 'search.c')
| -rw-r--r-- | search.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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; |
