summaryrefslogtreecommitdiff
path: root/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video.c')
-rw-r--r--video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video.c b/video.c
index 73f819d..583ae8b 100644
--- a/video.c
+++ b/video.c
@@ -563,6 +563,7 @@ void VideoPollEvents(int timeout)
xcb_flush(Connection);
// wait for events or timeout
+ // FIXME: this can poll forever
if ((n = poll(fds, 1, delay)) <= 0) {
// error or timeout
if (n) { // error