From cb98242ea7faff04dad3ae166aff7126184f17c5 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Sun, 22 Jan 2023 17:03:25 +0100 Subject: remove old comment and fixup lsl var name --- src/debug/HyprCtl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/debug/HyprCtl.cpp') diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 63dbf411..48be1c5c 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -239,7 +239,7 @@ std::string layersRequest(HyprCtl::eHyprCtlOutputFormat format) { escapeJSONStrings(mon->szName).c_str()); int layerLevel = 0; - for (auto& level : mon->m_aLayerSurfaceLists) { + for (auto& level : mon->m_aLayerSurfaceLayers) { result += getFormat( R"#( "%i": [ @@ -285,7 +285,7 @@ std::string layersRequest(HyprCtl::eHyprCtlOutputFormat format) { result += getFormat("Monitor %s:\n", mon->szName.c_str()); int layerLevel = 0; static const std::array levelNames = {"background", "bottom", "top", "overlay"}; - for (auto& level : mon->m_aLayerSurfaceLists) { + for (auto& level : mon->m_aLayerSurfaceLayers) { result += getFormat("\tLayer level %i (%s):\n", layerLevel, levelNames[layerLevel].c_str()); for (auto& layer : level) { -- cgit v1.2.3