mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 725773 - Only compress touch move events on Gonk, r=cjones
This commit is contained in:
parent
dfcf763a85
commit
9eee32a45f
@ -587,7 +587,10 @@ GeckoInputDispatcher::notifyMotion(nsecs_t eventTime,
|
||||
}
|
||||
{
|
||||
MutexAutoLock lock(mQueueLock);
|
||||
if (!mEventQueue.empty() && mEventQueue.back().type == UserInputData::MOTION_DATA)
|
||||
if (!mEventQueue.empty() &&
|
||||
mEventQueue.back().type == UserInputData::MOTION_DATA &&
|
||||
(mEventQueue.back().action & AMOTION_EVENT_ACTION_MASK) ==
|
||||
AMOTION_EVENT_ACTION_MOVE)
|
||||
mEventQueue.back() = data;
|
||||
else
|
||||
mEventQueue.push(data);
|
||||
|
Loading…
Reference in New Issue
Block a user