mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 18:09:50 +01:00
fixed hyprctl layers crash
This commit is contained in:
parent
f5936f97d6
commit
a545992891
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue