diff options
author | Kai Uwe Broulik <kde@privat.broulik.de> | 2024-01-01 11:51:45 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-01-06 13:13:20 +0000 |
commit | cb09ffb0cb7619674bbbc31c2a130ceefe40fe28 (patch) | |
tree | 767385f50912c06ffbbdc5d3826b877f3c90e2da | |
parent | 0618e1e7f73c6bef2e70a2ad51aa9b6f5959cec5 (diff) |
QWaylandWindow: Reset input region on window reset
Amends 604db6b5 and fixes the input region (and thus
Qt::WindowTransparentForInput) not working on subsequent shows.
Pick-to: 6.6
Change-Id: Ie160aa0b2c13e6858b31ad98866a8689dfbad149
Reviewed-by: David Edmundson <davidedmundson@kde.org>
(cherry picked from commit f308aa256e5328b53d6c41f995edf078bca87b98)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/client/qwaylandwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp index 3980f4efe..323c4e4df 100644 --- a/src/client/qwaylandwindow.cpp +++ b/src/client/qwaylandwindow.cpp @@ -319,6 +319,9 @@ void QWaylandWindow::reset() mOpaqueArea = QRegion(); mMask = QRegion(); + mInputRegion = QRegion(); + mTransparentInputRegion = false; + if (mQueuedBuffer) { mQueuedBuffer->setBusy(false); } |