summaryrefslogtreecommitdiff
path: root/src/wlstate.h
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-10 07:41:11 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-10 07:41:11 +0100
commit5b5eb5a16969afc4862fac387940818efc26780a (patch)
treeb33d699e7c0d780d88b015f3f605cebc46258210 /src/wlstate.h
parent0a158275020e94d9395fadaec1db34a1031fe87c (diff)
how are we going to do this
Diffstat (limited to 'src/wlstate.h')
-rw-r--r--src/wlstate.h13
1 files changed, 13 insertions, 0 deletions
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);