aboutsummaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-27 11:57:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-27 11:57:37 +0000
commitf63458ef3387eac67a402e6ce7bedd91eb49d9bc (patch)
tree44d2c73d0adc6b0d5e06e40298d10ecfa0a94f21 /search.c
parentfdm: use the FDM's poll loop (diff)
term: move per-window wayland objects from wayland struct to terminal struct
Short term, we want to break out the wayland backend from the terminal struct. Long term, we might want to support multiple windows. One step towards both the above is separating global wayland objects from per-window objects.
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;