summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-10 16:49:20 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-10 16:49:20 +0100
commitabf083124e1e71d7f3ca4e74f57a272234516656 (patch)
tree2614f0fc0575aee1eb4b6664d182f97a7ad9aa9e /src/utils.h
parent6e037ccc63cfc83ddda71824700ffa91ab9daab9 (diff)
rename errors
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h
index a7b0702..a4467d3 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -2,6 +2,7 @@
#include <stdint.h>
#include <wayland-client.h>
+#include <wayland-egl-core.h>
#include <cstdio>
#include <cstdlib>
@@ -37,7 +38,7 @@ typedef struct xdg_wm_base* xdg_wm_base_t;
typedef struct xdg_surface* xdg_surface_t;
typedef struct xdg_toplevel* xdg_toplevel_t;
-typedef struct wl_egl_surface* wl_egl_surface_t;
+typedef struct wl_egl_window* wl_egl_window_t;
static inline u32 wayc_min(u32 a, u32 b) { return a > b ? a : b; }