summaryrefslogtreecommitdiff
path: root/src/helpers/Monitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/Monitor.cpp')
-rw-r--r--src/helpers/Monitor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp
index fc5a97c8..6397e8c3 100644
--- a/src/helpers/Monitor.cpp
+++ b/src/helpers/Monitor.cpp
@@ -339,8 +339,8 @@ void CMonitor::onDisconnect(bool destroy) {
for (size_t i = 0; i < 4; ++i) {
for (auto const& ls : m_aLayerSurfaceLayers[i]) {
- if (ls->layerSurface && !ls->fadingOut)
- ls->layerSurface->sendClosed();
+ if (ls->m_layerSurface && !ls->m_fadingOut)
+ ls->m_layerSurface->sendClosed();
}
m_aLayerSurfaceLayers[i].clear();
}