wayland: implement wayl_init()

Wayland instantiation is now done by the wayland backend, not in main.
This commit is contained in:
Daniel Eklöf 2019-10-27 19:08:48 +01:00
parent 1adab32906
commit 61cc8c3c55
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 569 additions and 526 deletions

View file

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