diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-01-22 17:03:25 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-01-22 17:03:25 +0100 |
| commit | cb98242ea7faff04dad3ae166aff7126184f17c5 (patch) | |
| tree | 4c9dcad117f7f23a49c1b251670248a7e7317704 /src/debug | |
| parent | 147be3e10bf39e48e020622f9aa868f8bc53d8d9 (diff) | |
remove old comment and fixup lsl var name
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<std::string, 4> 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) { |
