Client: Fix the mouse being stuck in pressed state after DnD
requested to merge asturmlechner/qtwayland:asturmlechner/QTBUG-97037-mouse-stuck-after-dnd into kde/5.15
I can still reproduce the problem using QtWidgets applications
on KDE Plasma 5.27. Both Windows and macOS QPA have a similar quirk
and they both send a MouseButtonRelease event rather than a MouseMove
event.
Amends f7a386eeaec8e6314c1be7de5e14e9fe3847f9ba
Task-number: QTBUG-97037
Pick-to: 6.5 6.2 5.15
Change-Id: I864a1cb68b3660d858623f943b3958f7cafbf955
Reviewed-by: David Edmundson <davidedmundson@kde.org>
(cherry picked from commit e3c74961b1c7415fd94678802ad7f8173d0be4c1)
Client: Send release button event on pointer leave
Edited by Andreas Sturmlechner