diff options
| author | vaxerski <vaxry@vaxry.net> | 2022-09-17 15:05:12 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2022-09-17 15:05:12 +0100 |
| commit | a72a39ebd555c24751a0c4853a495de5ba4bed0d (patch) | |
| tree | 0d2883604dc3d8f5fee36da5ba9206249195e779 /src/helpers/MiscFunctions.cpp | |
| parent | 151e013241e29d0f4f2619db17257343503e20ea (diff) | |
minor swipe fixes
Diffstat (limited to 'src/helpers/MiscFunctions.cpp')
| -rw-r--r-- | src/helpers/MiscFunctions.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |
