diff options
Diffstat (limited to 'src/frame-xi2.c')
| -rw-r--r-- | src/frame-xi2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frame-xi2.c b/src/frame-xi2.c index a78d9bf..bead751 100644 --- a/src/frame-xi2.c +++ b/src/frame-xi2.c | |||
| @@ -217,9 +217,11 @@ static int handle_event(utouch_frame_handle fh, | |||
| 217 | switch (fh->evmap[ix]) { | 217 | switch (fh->evmap[ix]) { |
| 218 | case ABS_MT_POSITION_X: | 218 | case ABS_MT_POSITION_X: |
| 219 | slot->x = value; | 219 | slot->x = value; |
| 220 | slot->vx = 0; | ||
| 220 | return 1; | 221 | return 1; |
| 221 | case ABS_MT_POSITION_Y: | 222 | case ABS_MT_POSITION_Y: |
| 222 | slot->y = value; | 223 | slot->y = value; |
| 224 | slot->vy = 0; | ||
| 223 | return 1; | 225 | return 1; |
| 224 | case ABS_MT_TOUCH_MAJOR: | 226 | case ABS_MT_TOUCH_MAJOR: |
| 225 | slot->touch_major = value; | 227 | slot->touch_major = value; |
