aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
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 /wayland.h
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 'wayland.h')
-rw-r--r--wayland.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/wayland.h b/wayland.h
index a8aba13c..9ac094f8 100644
--- a/wayland.h
+++ b/wayland.h
@@ -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;
};