summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandwindow.cpp
diff options
context:
space:
mode:
authorChristophe Chapuis <chris.chapuis@gmail.com>2017-08-21 13:29:47 +0000
committerJohan Helsing <johan.helsing@qt.io>2017-10-13 13:55:36 +0000
commitd8a8378248636060670c048edbf9933eed445d78 (patch)
treeed5c6b5842f532b8245b20708f4b657fadfb216b /src/client/qwaylandwindow.cpp
parent6a28d13ded07280fbf0d877803001e40ebea36df (diff)
QWaylandWindow: reset window should reset mask
When QWaylandWindow::reset() is called, the window's mask is not changed. It means that when the window will be initialized again, it will not re-send the mask description to the server side through Wayland. Task-number: QTBUG-62638 Change-Id: I07d561f466836bbd90ae58521c0768ed85554256 Reviewed-by: Johan Helsing <johan.helsing@qt.io> Reviewed-by: Christophe Chapuis <chris.chapuis@gmail.com>
Diffstat (limited to 'src/client/qwaylandwindow.cpp')
-rw-r--r--src/client/qwaylandwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp
index e5edd0e5..f7f296d0 100644
--- a/src/client/qwaylandwindow.cpp
+++ b/src/client/qwaylandwindow.cpp
@@ -254,6 +254,8 @@ void QWaylandWindow::reset()
wl_callback_destroy(mFrameCallback);
mFrameCallback = nullptr;
}
+
+ mMask = QRegion();
}
QWaylandWindow *QWaylandWindow::fromWlSurface(::wl_surface *surface)