forked from quickshell/quickshell
fix: ub/crash when changing layershell props after hiding window
This commit is contained in:
parent
3d4b8efc74
commit
5ac04649aa
|
@ -69,7 +69,10 @@ QSWaylandLayerSurface::QSWaylandLayerSurface(
|
|||
this->set_size(size.width(), size.height());
|
||||
}
|
||||
|
||||
QSWaylandLayerSurface::~QSWaylandLayerSurface() { this->destroy(); }
|
||||
QSWaylandLayerSurface::~QSWaylandLayerSurface() {
|
||||
this->ext->surface = nullptr;
|
||||
this->destroy();
|
||||
}
|
||||
|
||||
void QSWaylandLayerSurface::zwlr_layer_surface_v1_configure(
|
||||
quint32 serial,
|
||||
|
|
Loading…
Reference in a new issue