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 = "";
|
std::string result = "";
|
||||||
|
|
||||||
for (auto& mon : g_pCompositor->m_vMonitors) {
|
for (auto& mon : g_pCompositor->m_vMonitors) {
|
||||||
result += getFormat("Monitor %s:\n");
|
result += getFormat("Monitor %s:\n", mon->szName.c_str());
|
||||||
int layerLevel = 0;
|
int layerLevel = 0;
|
||||||
for (auto& level : mon->m_aLayerSurfaceLists) {
|
for (auto& level : mon->m_aLayerSurfaceLists) {
|
||||||
result += getFormat("\tLayer level %i:\n", layerLevel);
|
result += getFormat("\tLayer level %i:\n", layerLevel);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue