summaryrefslogtreecommitdiff
path: root/src/window_wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_wayland.c')
-rw-r--r--src/window_wayland.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window_wayland.c b/src/window_wayland.c
index a4a31f2..2517003 100644
--- a/src/window_wayland.c
+++ b/src/window_wayland.c
@@ -1180,11 +1180,11 @@ static void window_wayland_set_decorations(struct stl_window *window, bool enabl
}
#ifdef STELA_POLL_INLINE
-static bool window_wayland_poll(struct stl_window *window, bool block)
+static void window_wayland_poll(struct stl_window *window, bool block)
{
struct stl_window_wayland *wl = (struct stl_window_wayland *)window;
display_prepare_read(wl->display);
- return stl_poll_common(&wl->w, wl->fds, block);
+ stl_poll_common(wl->fds, block);
}
#ifdef STELA_PAUSE