diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-10-27 16:13:29 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-10-27 16:13:29 +0000 |
| commit | eda04d0560f3009a3e9e16317e44a4bb5b9cf35a (patch) | |
| tree | 9e8f3596bd3032b4a0dbf7fefc4a07edc6818b6e /wayland.h | |
| parent | kbd: move into wayland (diff) | |
wayland: add back-pointer to terminal
This can, in the future, be extended to e.g. a list, to support
multiple windows.
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -87,6 +87,7 @@ struct wl_window { tll(const struct monitor *) on_outputs; /* Outputs we're mapped on */ }; +struct terminal; struct wayland { struct wl_display *display; struct wl_registry *registry; @@ -124,6 +125,9 @@ struct wayland { bool have_argb8888; tll(struct monitor) monitors; /* All available outputs */ + + /* TODO: turn into a list to support multiple windows */ + struct terminal *term; }; /* TODO: return allocated pointer */ |
