diff --git a/src/desktop/Workspace.cpp b/src/desktop/Workspace.cpp index 7ab75fd5..e9b155a4 100644 --- a/src/desktop/Workspace.cpp +++ b/src/desktop/Workspace.cpp @@ -207,7 +207,7 @@ void CWorkspace::rememberPrevWorkspace(const PHLWORKSPACE& prev) { std::string CWorkspace::getConfigName() { if (m_bIsSpecialWorkspace) { - return "special:" + m_szName; + return m_szName; } if (m_iID > 0) diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp index 779b45b1..b8061bef 100644 --- a/src/helpers/MiscFunctions.cpp +++ b/src/helpers/MiscFunctions.cpp @@ -256,7 +256,7 @@ bool isDirection(const char& arg) { int getWorkspaceIDFromString(const std::string& in, std::string& outName) { int result = WORKSPACE_INVALID; if (in.starts_with("special")) { - outName = "special"; + outName = "special:special"; if (in.length() > 8) { const auto NAME = in.substr(8); @@ -833,4 +833,4 @@ bool envEnabled(const std::string& env) { if (!ENV) return false; return std::string(ENV) == "1"; -} \ No newline at end of file +}