aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-01 22:49:54 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-01 22:49:54 +0000
commit25311fc4eb278d41cb29e1d0dd8dccff07617713 (patch)
tree0f72cc86b04b5e3ac0e9429f386d227151b79406 /wayland.h
parentMerge branch 'term-init-cleanup' (diff)
parentclient: register signal handler for SIGTERM too (diff)
Merge branch 'multi-window'
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/wayland.h b/wayland.h
index a8aba13c..951a0ece 100644
--- a/wayland.h
+++ b/wayland.h
@@ -72,7 +72,9 @@ struct wl_primary {
uint32_t serial;
};
+struct wayland;
struct wl_window {
+ struct wayland *wayl;
struct wl_surface *surface;
struct xdg_surface *xdg_surface;
struct xdg_toplevel *xdg_toplevel;
@@ -145,8 +147,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;
};