diff options
| author | Yavor Kolev <yavko@outlook.com> | 2022-08-04 16:25:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-04 16:25:56 -0700 |
| commit | 9f11765707364f69bdbf04b2f2404d33990cc9a2 (patch) | |
| tree | 477c35867fb11bc1dd6f53deacb03a997df387fa /src/debug/HyprCtl.cpp | |
| parent | 3947fe9e9f8fb2912b969a20fbbec3f2ab62cef0 (diff) | |
Change monitor active to json bool
Diffstat (limited to 'src/debug/HyprCtl.cpp')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 24bdf14d..f102606a 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -35,7 +35,7 @@ R"#({ "reserved": [%i, %i, %i, %i], "scale": %.2f, "transform": %i, - "active": "%s" + "active": %s },)#", m->ID, escapeJSONStrings(m->szName).c_str(), @@ -46,7 +46,7 @@ R"#({ (int)m->vecReservedTopLeft.x, (int)m->vecReservedTopLeft.y, (int)m->vecReservedBottomRight.x, (int)m->vecReservedBottomRight.y, m->scale, (int)m->transform, - (m.get() == g_pCompositor->m_pLastMonitor ? "yes" : "no") + (m.get() == g_pCompositor->m_pLastMonitor ? "true" : "false") ); } @@ -667,4 +667,4 @@ void HyprCtl::startHyprCtlSocket() { close(SOCKET); }).detach(); -}
\ No newline at end of file +} |
