mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-06 07:15:30 -04:00
wayland: window now keeps pointer to owning terminal, not wayland
This commit is contained in:
parent
74aa604904
commit
9a0238bb52
3 changed files with 10 additions and 8 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue