summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-05 21:32:37 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-09-05 21:32:37 +0200
commit2ba7cb2414a5cf893a64992756fcd283872ae956 (patch)
tree69176e2eaa95952c6835bcfd8c727071c46dec65 /src/debug
parent5b5f36f49461ce3b57fe807615bdc6069531f53a (diff)
escape json strings in workspaces lastwindow title
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index 1df8e443..1b6b07b2 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -142,7 +142,7 @@ R"#({
g_pCompositor->getWindowsOnWorkspace(w->m_iID),
((int)w->m_bHasFullscreenWindow == 1 ? "true" : "false"),
PLASTW,
- PLASTW ? PLASTW->m_szTitle.c_str() : ""
+ PLASTW ? escapeJSONStrings(PLASTW->m_szTitle).c_str() : ""
);
}