summaryrefslogtreecommitdiff
path: root/src/events/Layers.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-27 12:32:00 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-27 12:32:00 +0200
commit31a079b347ddede3f672b0b059967f5e6bc74a36 (patch)
treec957d8af9866189dbaaa71f4481e13e860ff640c /src/events/Layers.cpp
parent50b991674b6d6607477232a774d5f730789d18a8 (diff)
added DPMS
Diffstat (limited to 'src/events/Layers.cpp')
-rw-r--r--src/events/Layers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Layers.cpp b/src/events/Layers.cpp
index afa702c4..83d7d8dd 100644
--- a/src/events/Layers.cpp
+++ b/src/events/Layers.cpp
@@ -31,7 +31,7 @@ void Events::listener_newLayerSurface(wl_listener* listener, void* data) {
WLRLAYERSURFACE->output = PMONITOR->output;
}
- const auto PMONITOR = (SMonitor*)g_pCompositor->getMonitorFromOutput(WLRLAYERSURFACE->output);
+ const auto PMONITOR = (CMonitor*)g_pCompositor->getMonitorFromOutput(WLRLAYERSURFACE->output);
SLayerSurface* layerSurface = PMONITOR->m_aLayerSurfaceLists[WLRLAYERSURFACE->pending.layer].emplace_back(std::make_unique<SLayerSurface>()).get();
layerSurface->szNamespace = WLRLAYERSURFACE->_namespace;