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>
This commit is contained in:
parent
1a0939a8de
commit
b3621cfe7c
@ -254,6 +254,8 @@ void QWaylandWindow::reset()
|
|||||||
wl_callback_destroy(mFrameCallback);
|
wl_callback_destroy(mFrameCallback);
|
||||||
mFrameCallback = nullptr;
|
mFrameCallback = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mMask = QRegion();
|
||||||
}
|
}
|
||||||
|
|
||||||
QWaylandWindow *QWaylandWindow::fromWlSurface(::wl_surface *surface)
|
QWaylandWindow *QWaylandWindow::fromWlSurface(::wl_surface *surface)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user