diff options
| author | 2026-09-07 14:42:21 -0400 | |
|---|---|---|
| committer | 2026-09-07 14:42:21 -0400 | |
| commit | e72c336d01b32bee304c8a2989e2335fcc26c143 (patch) | |
| tree | 62b69b421936114835481c27612aad023e070c4f /src/window_wayland.c | |
| parent | 9c4a7eb845126f068aaac0173453e803e5ea6bf8 (diff) | |
| download | stela-e72c336d01b32bee304c8a2989e2335fcc26c143.tar.gz stela-e72c336d01b32bee304c8a2989e2335fcc26c143.tar.bz2 stela-e72c336d01b32bee304c8a2989e2335fcc26c143.zip | |
Android improvements, update deps
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/window_wayland.c')
| -rw-r--r-- | src/window_wayland.c | 9 |
1 files changed, 9 insertions, 0 deletions
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) { |