From 5b5eb5a16969afc4862fac387940818efc26780a Mon Sep 17 00:00:00 2001 From: Fabrice Date: Tue, 10 Feb 2026 07:41:11 +0100 Subject: how are we going to do this --- src/wlstate.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/wlstate.h (limited to 'src/wlstate.h') diff --git a/src/wlstate.h b/src/wlstate.h new file mode 100644 index 0000000..4143a74 --- /dev/null +++ b/src/wlstate.h @@ -0,0 +1,13 @@ +#pragma once + +#include "utils.h" + +struct wl_state_s { + wl_display_t display; + wl_compositor_t compositor; + xdg_wm_base_t wm_base; + wl_surface_t surface; +}; + +bool wayc_wl_state_init(struct wl_state_s *state); +void wayc_wl_state_deinit(struct wl_state_s *state); -- cgit v1.2.3