mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-22 07:23:49 -07:00
escape json strings in workspaces lastwindow title
This commit is contained in:
@@ -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() : ""
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user