mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 23:29:48 +01:00
Change monitor active to json bool
This commit is contained in:
parent
3947fe9e9f
commit
9f11765707
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue