wayland: implement wayl_destroy()

This commit is contained in:
Daniel Eklöf 2019-10-27 15:57:23 +01:00
parent 0120c57ed5
commit 942ff566a2
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 85 additions and 52 deletions

View file

@ -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);