diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-10-27 14:57:23 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-10-27 14:57:23 +0000 |
| commit | 942ff566a2e8f9f4dc866b74ba10bce838a0d606 (patch) | |
| tree | cec7fc2c0341cb4dea4e0a9def1a69e5c2bf5454 /wayland.h | |
| parent | wayland: move wayland struct definitions to a separate file (diff) | |
wayland: implement wayl_destroy()
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -3,6 +3,9 @@ #include <stdint.h> #include <stdbool.h> +#include <wayland-client.h> +#include <primary-selection-unstable-v1.h> + #include "tllist.h" struct monitor { @@ -72,3 +75,7 @@ struct wayland { bool have_argb8888; tll(struct monitor) monitors; /* All available outputs */ }; + +/* TODO: return allocated pointer */ +void wayl_init(struct wayland *wayl); +void wayl_destroy(struct wayland *wayl); |
