summaryrefslogtreecommitdiff
path: root/xlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlib.c')
-rw-r--r--xlib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlib.c b/xlib.c
index e783458..99c7573 100644
--- a/xlib.c
+++ b/xlib.c
@@ -235,8 +235,6 @@ void uudisp_next_event(struct uudisp *d, void *fds)
p->pastebuf = NULL;
}
- if (!FD_ISSET(p->fd, (fd_set *)fds)) return;
-
while (XCheckIfEvent(p->display, &ev, keyev_pred, (void *)d)) {
if (XFilterEvent(&ev, 0)) continue;
switch (ev.type) {