mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-21 06:46:34 -04:00
wayland: implement wayl_destroy()
This commit is contained in:
parent
0120c57ed5
commit
942ff566a2
4 changed files with 85 additions and 52 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue