diff options
author | NRK <nrk@disroot.org> | 2023-06-27 11:50:14 +0600 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-06-29 13:17:56 +0200 |
commit | 7ad76095417d1022aa4ba3c9a806ebb82004cbc4 (patch) | |
tree | 2e7ad3af44e24deff68c824b03ad64ef318c7287 /video | |
parent | 76589a5b34ba9769372cd8f233890ab892fd27ad (diff) | |
download | mpv-7ad76095417d1022aa4ba3c9a806ebb82004cbc4.tar.bz2 mpv-7ad76095417d1022aa4ba3c9a806ebb82004cbc4.tar.xz |
wayland: remove erroneous POLLERR usage
POLLERR is only returned in `.revents` and is ignored in `.events`
Diffstat (limited to 'video')
-rw-r--r-- | video/out/wayland_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |