mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-26 01:31:54 -07:00
internal: don't sanity check workspaces on internal ws calls
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user