aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-30 19:02:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-30 19:02:06 +0000
commit445bbe3469b057c8b518f7c787527128f724cc1b (patch)
treececb41d9d6ddf589852f57cadd275bbbc433e40d /terminal.c
parentMerge branch 'term-init-cleanup' (diff)
wayland: track multiple terminals
The wayland 'term' member is gone and replaced by a list, 'terms'. This list contains all currently running terminal (windows).
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 301319ff..d889cfca 100644
--- a/terminal.c
+++ b/terminal.c
@@ -472,7 +472,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
goto err;
}
- wayl->term = term;
+ tll_push_back(wayl->terms, term);
return term;
err: