mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-09-20 10:18:25 +00:00
make ext_workspace_unstable impl more atomic (#2023)
This commit is contained in:
@@ -960,6 +960,9 @@ void CKeybindManager::changeworkspace(std::string args) {
|
||||
if (ANOTHERMONITOR)
|
||||
g_pCompositor->warpCursorTo(PMONITOR->vecPosition + PMONITOR->vecSize / 2.f);
|
||||
|
||||
// Destroy old workspace if it is empty
|
||||
g_pCompositor->sanityCheckWorkspaces();
|
||||
|
||||
Debug::log(LOG, "Changed to workspace %i", workspaceToChangeTo);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user