aboutsummaryrefslogtreecommitdiff
path: root/wayland.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-10-27 14:57:23 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-10-27 14:57:23 +0000
commit942ff566a2e8f9f4dc866b74ba10bce838a0d606 (patch)
treecec7fc2c0341cb4dea4e0a9def1a69e5c2bf5454 /wayland.h
parentwayland: move wayland struct definitions to a separate file (diff)
wayland: implement wayl_destroy()
Diffstat (limited to 'wayland.h')
-rw-r--r--wayland.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wayland.h b/wayland.h
index 970cb8cf..81d622fe 100644
--- a/wayland.h
+++ b/wayland.h
@@ -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);