fixed hyprctl layers crash

This commit is contained in:
vaxerski 2022-07-06 21:57:15 +02:00
parent f5936f97d6
commit a545992891

View file

@ -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);