From a545992891668d9872bed04b76d3b35b32dc0796 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 6 Jul 2022 21:57:15 +0200 Subject: [PATCH] fixed hyprctl layers crash --- src/debug/HyprCtl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index ad72c68e..9a30c54c 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -58,7 +58,7 @@ std::string layersRequest() { std::string result = ""; for (auto& mon : g_pCompositor->m_vMonitors) { - result += getFormat("Monitor %s:\n"); + result += getFormat("Monitor %s:\n", mon->szName.c_str()); int layerLevel = 0; for (auto& level : mon->m_aLayerSurfaceLists) { result += getFormat("\tLayer level %i:\n", layerLevel);