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:
Daniel Eklöf 2019-10-30 20:02:06 +01:00
parent e084bf2b0f
commit 445bbe3469
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 26 additions and 15 deletions

View file

@ -145,8 +145,7 @@ struct wayland {
bool have_argb8888;
tll(struct monitor) monitors; /* All available outputs */
/* TODO: turn into a list to support multiple windows */
struct terminal *term;
tll(struct terminal *) terms;
struct terminal *focused;
struct terminal *moused;
};