blob: 9d962c2ba904b57ddf6148f728a044d412f21e46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include "utils.h"
struct wl_state_s {
wl_display_t display;
wl_registry_t registry;
wl_compositor_t compositor;
xdg_wm_base_t wm_base;
u32 eventfd;
};
bool wayc_wl_state_init(struct wl_state_s *state);
void wayc_wl_state_deinit(struct wl_state_s *state);
void wayc_wl_state_update(struct wl_state_s *state);
|