diff options
Diffstat (limited to 'src/mtouch.c')
| -rw-r--r-- | src/mtouch.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mtouch.c b/src/mtouch.c index e2d9572..8a83d64 100644 --- a/src/mtouch.c +++ b/src/mtouch.c | |||
| @@ -75,5 +75,7 @@ int read_packet(struct MTouch *mt, int fd) | |||
| 75 | 75 | ||
| 76 | int has_delayed_gestures(struct MTouch *mt, int fd) | 76 | int has_delayed_gestures(struct MTouch *mt, int fd) |
| 77 | { | 77 | { |
| 78 | return mt->mem.wait && mtdev_idle(&mt->dev, fd, mt->mem.wait); | 78 | return mt->mem.wait && |
| 79 | mtdev_empty(&mt->dev) && | ||
| 80 | mtdev_idle(&mt->dev, fd, mt->mem.wait); | ||
| 79 | } | 81 | } |
