remove old comment and fixup lsl var name

This commit is contained in:
vaxerski
2023-01-22 17:03:25 +01:00
parent 147be3e10b
commit cb98242ea7
9 changed files with 41 additions and 43 deletions

View File

@@ -193,10 +193,10 @@ void CMonitor::onDisconnect() {
hyprListener_monitorFrame.removeCallback();
for (size_t i = 0; i < 4; ++i) {
for (auto& ls : m_aLayerSurfaceLists[i]) {
for (auto& ls : m_aLayerSurfaceLayers[i]) {
wlr_layer_surface_v1_destroy(ls->layerSurface);
}
m_aLayerSurfaceLists[i].clear();
m_aLayerSurfaceLayers[i].clear();
}
Debug::log(LOG, "Removed monitor %s!", szName.c_str());