wayland: window now keeps pointer to owning terminal, not wayland

This commit is contained in:
Daniel Eklöf 2020-01-03 13:37:03 +01:00
parent 74aa604904
commit 9a0238bb52
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 10 additions and 8 deletions

View file

@ -654,7 +654,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
goto err;
/* Initialize the Wayland window backend */
if ((term->window = wayl_win_init(wayl)) == NULL)
if ((term->window = wayl_win_init(term)) == NULL)
goto err;
/* Let the Wayland backend know we exist */