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/Compositor.cpp | |
| parent | 151e013241e29d0f4f2619db17257343503e20ea (diff) | |
minor swipe fixes
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 281b1de9..b8b76039 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -1591,6 +1591,9 @@ bool CCompositor::workspaceIDOutOfBounds(const int& id) { int highestID = -99999; for (auto& w : m_vWorkspaces) { + if (w->m_iID == SPECIAL_WORKSPACE_ID) + continue; + if (w->m_iID < lowestID) lowestID = w->m_iID; |
