mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 22:45:59 +01:00
escape json strings in workspaces lastwindow title
This commit is contained in:
parent
5b5f36f494
commit
2ba7cb2414
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue