aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-01-28 17:52:32 +0000
committervaxerski <[email protected]>2023-01-28 17:52:32 +0000
commit86f4772bd6711cbd62f110644add490446a12a7d (patch)
treea47e0d565ab660e529b484d1209ba55c89a483f8
parent61c9e50bcd6c51e026203f194bc186eda3c44a38 (diff)
downloadHyprland-86f4772bd6711cbd62f110644add490446a12a7d.tar.gz
Hyprland-86f4772bd6711cbd62f110644add490446a12a7d.zip
fix clang warn
-rw-r--r--src/Compositor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 9269dff0..41ef2cdc 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -2160,7 +2160,7 @@ void CCompositor::renameWorkspace(const int& id, const std::string& name) {
if (isWorkspaceSpecial(id))
return;
- Debug::log(LOG, "renameWorkspace: Renaming workspace %d to '%s'", id, name);
+ Debug::log(LOG, "renameWorkspace: Renaming workspace %d to '%s'", id, name.c_str());
wlr_ext_workspace_handle_v1_set_name(PWORKSPACE->m_pWlrHandle, name.c_str());
PWORKSPACE->m_szName = name;
}