Send synthesized button release event immediately
...not only on the next frame. Change-Id: Iad31a3d80576c5cd8fa3ba7f64a39d7a6a01337a Reviewed-by: David Edmundson <davidedmundson@kde.org> (cherry picked from commit 1260aaf9549b180c192fb5c01b466945ec0575d1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
878a505853
commit
ef015fb9b8
@ -863,6 +863,7 @@ void QWaylandInputDevice::Pointer::invalidateFocus()
|
||||
void QWaylandInputDevice::Pointer::releaseButtons()
|
||||
{
|
||||
setFrameEvent(new ReleaseEvent(nullptr, mParent->mTime, mSurfacePos, mGlobalPos, Qt::NoButton, Qt::NoButton, mParent->modifiers()));
|
||||
flushFrameEvent();
|
||||
}
|
||||
|
||||
void QWaylandInputDevice::Pointer::leavePointers()
|
||||
|
Loading…
x
Reference in New Issue
Block a user