switch back to first workspace on monitor after mapping

This commit is contained in:
hurutparittya 2023-04-01 13:45:32 +02:00 committed by Stanisław Zagórowski
parent 44f7c0b8c0
commit d48b001b2e

View file

@ -80,7 +80,7 @@ void mapWorkspacesToMonitors()
g_pCompositor->moveWorkspaceToMonitor(workspace, monitor.get());
}
}
HyprlandAPI::invokeHyprctlCommand("dispatch", "workspace " + std::to_string(workspaceIndex));
workspaceIndex += workspaceCount;
}
}