diff options
| author | David Edmundson <davidedmundson@kde.org> | 2023-01-30 16:38:38 +0000 |
|---|---|---|
| committer | David Edmundson <davidedmundson@kde.org> | 2023-04-25 08:07:19 +0000 |
| commit | 40889ffe52dd69b9bb4a3794106404b5347dd6d2 (patch) | |
| tree | 12ad4950e85b8241e1e4281313a4f156fb008f0e /src/quicklayouts/qquickstacklayout.cpp | |
| parent | 4f465236f2259680117ee97d2310d79de1a14293 (diff) | |
qquickwindow: Clear hover when a window is hidden
This fixes a bug in the following sequence:
- user opens a window
- the window is hidden whilst under the mouse
- later the window is reopened without the mouse being under the window
- with the lastMousePosition set an item underneath where the mouse
used to be gets activated.
On X11 we get a Leave event for the hidden window, this is not true for
wayland.
Pick-to: 6.5
Change-Id: Ib14e8dbe29f1ad9a71a488b671d226be1d017b8d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/quicklayouts/qquickstacklayout.cpp')
0 files changed, 0 insertions, 0 deletions
