mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-04 07:15:29 -04:00
wayland: add back-pointer to terminal
This can, in the future, be extended to e.g. a list, to support multiple windows.
This commit is contained in:
parent
c9455d5f21
commit
eda04d0560
2 changed files with 5 additions and 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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue