mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
wayland: track multiple terminals
The wayland 'term' member is gone and replaced by a list, 'terms'. This list contains all currently running terminal (windows).
This commit is contained in:
parent
e084bf2b0f
commit
445bbe3469
4 changed files with 26 additions and 15 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue