summaryrefslogtreecommitdiffstats
path: root/minuitwrp/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'minuitwrp/events.c')
-rw-r--r--minuitwrp/events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/minuitwrp/events.c b/minuitwrp/events.c
index e2414a440..0309a9a21 100644
--- a/minuitwrp/events.c
+++ b/minuitwrp/events.c
@@ -719,7 +719,7 @@ static int vk_modify(struct ev *e, struct input_event *ev)
return 0;
}
-int ev_get(struct input_event *ev)
+int ev_get(struct input_event *ev, int timeout_ms)
{
int r;
unsigned n;
@@ -740,7 +740,7 @@ int ev_get(struct input_event *ev)
lastInputStat = curr;
}
- r = poll(ev_fds, ev_count, 0);
+ r = poll(ev_fds, ev_count, timeout_ms);
if(r > 0) {
for(n = 0; n < ev_count; n++) {