From a72a39ebd555c24751a0c4853a495de5ba4bed0d Mon Sep 17 00:00:00 2001 From: vaxerski Date: Sat, 17 Sep 2022 15:05:12 +0100 Subject: minor swipe fixes --- src/helpers/MiscFunctions.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/helpers/MiscFunctions.cpp') diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp index 405a53d8..2775e0b4 100644 --- a/src/helpers/MiscFunctions.cpp +++ b/src/helpers/MiscFunctions.cpp @@ -221,6 +221,9 @@ int getWorkspaceIDFromString(const std::string& in, std::string& outName) { int highestID = -99999; for (auto& w : g_pCompositor->m_vWorkspaces) { + if (w->m_iID == SPECIAL_WORKSPACE_ID) + continue; + if (w->m_iID < lowestID) lowestID = w->m_iID; -- cgit v1.2.3