fix special status when workspace is changed

This commit is contained in:
vaxerski 2022-07-07 19:16:16 +02:00
parent a7b595d968
commit aa3bc65342

View file

@ -284,8 +284,6 @@ void CKeybindManager::changeworkspace(std::string args) {
const auto OLDWORKSPACEID = PMONITOR->activeWorkspace; const auto OLDWORKSPACEID = PMONITOR->activeWorkspace;
// change it // change it
PMONITOR->specialWorkspaceOpen = false;
if (workspaceToChangeTo != SPECIAL_WORKSPACE_ID) if (workspaceToChangeTo != SPECIAL_WORKSPACE_ID)
PMONITOR->activeWorkspace = workspaceToChangeTo; PMONITOR->activeWorkspace = workspaceToChangeTo;
else else