summaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test.c b/src/test.c
index 0088cdd..ce2fdf5 100644
--- a/src/test.c
+++ b/src/test.c
@@ -42,6 +42,10 @@ static void loop_device(int fd)
42 extract_gestures(&gs, &mt); 42 extract_gestures(&gs, &mt);
43 output_gesture(&gs); 43 output_gesture(&gs);
44 } 44 }
45 if (mt_is_idle(&mt, fd)) {
46 extract_delayed_gestures(&gs, &mt);
47 output_gesture(&gs);
48 }
45 } 49 }
46 close_mtouch(&mt, fd); 50 close_mtouch(&mt, fd);
47} 51}