diff options
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) { |