Skip to content

client: update button state and etc in pointer_leave()

The cleanup work needs to be done even the surface is null, for example, a window was closed in mouse press handler, then will not get a mouse release.

Fixes: QTBUG-100942 Pick-to: 5.15 6.2 6.3 Change-Id: I637a6744909ddbe62bdeba6b21494e5a6ae7fa9f Reviewed-by: Tang Haixiang tanghaixiang@uniontech.com Reviewed-by: David Edmundson davidedmundson@kde.org (cherry picked from commit 409d1080)

Merge request reports