MCPcopy Create free account
hub / github.com/Alexays/Waybar / createWorkspacesToCreate

Method createWorkspacesToCreate

src/modules/hyprland/workspaces.cpp:109–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void Workspaces::createWorkspacesToCreate() {
110 for (const auto& [workspaceData, clientsData] : m_workspacesToCreate) {
111 createWorkspace(workspaceData, clientsData);
112 }
113 if (!m_workspacesToCreate.empty()) {
114 updateWindowCount();
115 sortWorkspaces();
116 }
117 m_workspacesToCreate.clear();
118}
119
120/**
121 * Workspaces::doUpdate - update workspaces in UI thread.

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected