From 6c4ad6dc3425b0417846a0c0dacb924a4a963332 Mon Sep 17 00:00:00 2001 From: houzh Date: Wed, 1 Nov 2023 09:38:43 +0800 Subject: [PATCH] fix TouchDevice's point report --- src/gui/core/inputdevice.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/core/inputdevice.cc b/src/gui/core/inputdevice.cc index d457688b..839aab07 100644 --- a/src/gui/core/inputdevice.cc +++ b/src/gui/core/inputdevice.cc @@ -394,8 +394,8 @@ int TouchDevice::putRawEvent(const struct timeval&tv,int type,int code,int value //the same positioned moveing ,skip this event break; } - mLastDownX= mEvent.getX(); - mLastDownY= mEvent.getY(); + mLastDownX= mEvent.getX(); + mLastDownY= mEvent.getY(); mDownTime = mMoveTime; } if(listener)listener(mEvent);