aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-03 12:37:03 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-03 12:37:03 +0000
commit9a0238bb524668c3ea24465943cd231167ae1428 (patch)
treef8e31ab7f7b4bc23b39a338070bfa1f5478e3802 /terminal.c
parentrender: render_resize(): don't do anything if width or height is 0 (diff)
wayland: window now keeps pointer to owning terminal, not wayland
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index b31d3867..d1853c18 100644
--- a/terminal.c
+++ b/terminal.c
@@ -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 */