From e72c336d01b32bee304c8a2989e2335fcc26c143 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Mon, 7 Sep 2026 14:42:21 -0400 Subject: Android improvements, update deps Signed-off-by: Andrew Opalach --- src/window_wayland.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/window_wayland.c') diff --git a/src/window_wayland.c b/src/window_wayland.c index e019002..e22c206 100644 --- a/src/window_wayland.c +++ b/src/window_wayland.c @@ -920,6 +920,7 @@ static struct stl_monitor_wayland *monitor_from_name(const char *name) return NULL; } +#ifndef NAUNET_NEEDS_STDIO_ASSIST // https://wayland-book.com/surfaces/shared-memory.html static s32 create_shm_file(char *name, char *suffix) { @@ -990,6 +991,14 @@ static struct xdg_toplevel_icon_v1 *create_icon(struct stl_window_wayland *wl, u return icon; } +#else +static struct xdg_toplevel_icon_v1 *create_icon(struct stl_window_wayland *wl, u32 size) +{ + (void)wl; + (void)size; + return NULL; +} +#endif static bool create_toplevel(struct stl_window_wayland *wl, s32 scale, const char *name, const char *app_id) { -- cgit v1.2.3-101-g0448