diff options
Diffstat (limited to 'src/multitouch.c')
-rw-r--r-- | src/multitouch.c | 8 |
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) static void read_input(LocalDevicePtr local) { struct MTouch *mt = local->private; - - xf86Msg(X_INFO, "read_input called\n"); - if (local->fd >= 0) { while (read_synchronized_event(mt, local->fd)) { - xf86Msg(X_INFO, "synced event\n"); - // do all the good stuff here + modify_state(&mt->ns, &mt->hw); + // and something in between here + mt->os = mt->ns; } } } |