aboutsummaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-27 18:08:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-27 18:08:48 +0000
commit61cc8c3c55767556b81474eebe6712f7e9b42706 (patch)
treee01d6ce6515ac21b1b795ec51af8924b5b77ee13 /search.c
parentterm: wayland struct is now not a part of the terminal struct (diff)
wayland: implement wayl_init()
Wayland instantiation is now done by the wayland backend, not in main.
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 e055b478..134c3527 100644
--- a/search.c
+++ b/search.c
@@ -19,8 +19,8 @@
static void
search_cancel_keep_selection(struct terminal *term)
{
- wl_surface_attach(term->window.search_surface, NULL, 0, 0);
- wl_surface_commit(term->window.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;