diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index d67f7e46a0..0b2b9c3b21 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -1338,7 +1338,7 @@ static void check_dnd_fd(struct vo_wayland_state *wl) if (wl->dnd_fd == -1) return; - struct pollfd fdp = { wl->dnd_fd, POLLIN | POLLERR | POLLHUP, 0 }; + struct pollfd fdp = { wl->dnd_fd, POLLIN | POLLHUP, 0 }; if (poll(&fdp, 1, 0) <= 0) return;