mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 21:51:55 -07:00
fix crashes on monitor ls remove
This commit is contained in:
@@ -196,6 +196,7 @@ void CMonitor::onDisconnect() {
|
||||
for (auto& ls : m_aLayerSurfaceLists[i]) {
|
||||
wlr_layer_surface_v1_destroy(ls->layerSurface);
|
||||
}
|
||||
m_aLayerSurfaceLists[i].clear();
|
||||
}
|
||||
|
||||
if (!BACKUPMON) {
|
||||
|
Reference in New Issue
Block a user