#pragma once #include "utils.h" struct wlstate_s { wl_display_t display; wl_registry_t registry; wl_compositor_t compositor; xdg_wm_base_t wm_base; i32 eventfd; }; bool wayc_wlstate_init(struct wlstate_s *state); void wayc_wlstate_deinit(struct wlstate_s *state); void wayc_wlstate_update(struct wlstate_s *state);