| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-09-23 21:38:14 +0200 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-09-23 21:38:14 +0200 |
| commit | 010be3c6cffa85ac398135b156dc7c9e6b86ec96 (patch) | |
| tree | caae742f7ea18817935efb8bc85d0de20ad82b5b /src/input.c | |
| parent | e9b84b7e4612da198576c7b7e64e0c72674597cf (diff) | |
Quick fix.
Diffstat (limited to 'src/input.c')
| -rw-r--r-- | src/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input.c b/src/input.c index 96fc01d..8685127 100644 --- a/src/input.c +++ b/src/input.c @@ -154,7 +154,7 @@ int relabsd_input_read libevdev_next_event ( input->dev, - (LIBEVDEV_READ_FLAG_NORMAL /*| LIBEVDEV_READ_FLAG_BLOCKING*/), + (LIBEVDEV_READ_FLAG_NORMAL | LIBEVDEV_READ_FLAG_BLOCKING), &event ); @@ -224,7 +224,7 @@ int relabsd_input_wait_for_next_event &ready_to_read, (fd_set *) NULL, (fd_set *) NULL, - &(curr_timeout) + (input->timed_out) ? NULL : &(curr_timeout) ); if (errno != 0) |


