Send synthesized button release event immediately

...not only on the next frame.

Pick-to: 6.10
Change-Id: Iad31a3d80576c5cd8fa3ba7f64a39d7a6a01337a
Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
David Redondo 2025-02-11 10:40:41 +01:00
parent 747741119a
commit 1260aaf954

View File

@ -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()