summaryrefslogtreecommitdiff
path: root/src/multitouch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/multitouch.c')
-rw-r--r--src/multitouch.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/multitouch.c b/src/multitouch.c
index 40895c9..f6e3d05 100644
--- a/src/multitouch.c
+++ b/src/multitouch.c
@@ -79,13 +79,11 @@ static void device_close(LocalDevicePtr local)
79static void read_input(LocalDevicePtr local) 79static void read_input(LocalDevicePtr local)
80{ 80{
81 struct MTouch *mt = local->private; 81 struct MTouch *mt = local->private;
82
83 xf86Msg(X_INFO, "read_input called\n");
84
85 if (local->fd >= 0) { 82 if (local->fd >= 0) {
86 while (read_synchronized_event(mt, local->fd)) { 83 while (read_synchronized_event(mt, local->fd)) {
87 xf86Msg(X_INFO, "synced event\n"); 84 modify_state(&mt->ns, &mt->hw);
88 // do all the good stuff here 85 // and something in between here
86 mt->os = mt->ns;
89 } 87 }
90 } 88 }
91} 89}