mirror of https://github.com/hyprwm/Hyprland
escape json strings in workspaces lastwindow title
This commit is contained in:
parent
5b5f36f494
commit
2ba7cb2414
|
@ -142,7 +142,7 @@ R"#({
|
||||||
g_pCompositor->getWindowsOnWorkspace(w->m_iID),
|
g_pCompositor->getWindowsOnWorkspace(w->m_iID),
|
||||||
((int)w->m_bHasFullscreenWindow == 1 ? "true" : "false"),
|
((int)w->m_bHasFullscreenWindow == 1 ? "true" : "false"),
|
||||||
PLASTW,
|
PLASTW,
|
||||||
PLASTW ? PLASTW->m_szTitle.c_str() : ""
|
PLASTW ? escapeJSONStrings(PLASTW->m_szTitle).c_str() : ""
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue