diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-13 22:21:11 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-13 22:21:11 +0100 |
| commit | 260ef788f55cdbccd3c32f57d4eeb4e37dc44aaf (patch) | |
| tree | e5b7de8731361c287d0f53bb42b3513b2cc380a5 /src/managers/KeybindManager.cpp | |
| parent | 6131e0bef71b67b6ba5d1b395da2f3a4c2082551 (diff) | |
internal: don't sanity check workspaces on internal ws calls
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index a04f67b9..cdb9a637 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -961,7 +961,8 @@ void CKeybindManager::changeworkspace(std::string args) { g_pCompositor->warpCursorTo(PMONITOR->vecPosition + PMONITOR->vecSize / 2.f); // Destroy old workspace if it is empty - g_pCompositor->sanityCheckWorkspaces(); + if (!internal) + g_pCompositor->sanityCheckWorkspaces(); Debug::log(LOG, "Changed to workspace %i", workspaceToChangeTo); } |
