aboutsummaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'search.c')
-rw-r--r--search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/search.c b/search.c
index 45ca675e..59ac0152 100644
--- a/search.c
+++ b/search.c
@@ -19,8 +19,8 @@
static void
search_cancel_keep_selection(struct terminal *term)
{
- wl_surface_attach(term->wl.search_surface, NULL, 0, 0);
- wl_surface_commit(term->wl.search_surface);
+ wl_surface_attach(term->window.search_surface, NULL, 0, 0);
+ wl_surface_commit(term->window.search_surface);
free(term->search.buf);
term->search.buf = NULL;