mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 21:51:55 -07:00
ignore null ls-es in cleanup
This commit is contained in:
@@ -194,6 +194,7 @@ void CMonitor::onDisconnect() {
|
||||
|
||||
for (size_t i = 0; i < 4; ++i) {
|
||||
for (auto& ls : m_aLayerSurfaceLayers[i]) {
|
||||
if (ls->layerSurface && !ls->fadingOut)
|
||||
wlr_layer_surface_v1_destroy(ls->layerSurface);
|
||||
}
|
||||
m_aLayerSurfaceLayers[i].clear();
|
||||
|
Reference in New Issue
Block a user