Skip to content

Commit

Permalink
Remove keyword workspace in mapWorkspacesToMonitors as it doesnt work…
Browse files Browse the repository at this point in the history
… anyway
  • Loading branch information
zjeffer committed Jun 8, 2024
1 parent dbe6983 commit fac1be4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ void mapWorkspacesToMonitors()
for (int i = workspaceIndex; i < workspaceIndex + workspaceCount; i++) {
std::string workspaceName = std::to_string(i);
g_vMonitorWorkspaceMap[monitor->ID].push_back(workspaceName);
HyprlandAPI::invokeHyprctlCommand("keyword", "workspace " + workspaceName + "," + monitor->szName);
PHLWORKSPACE workspace = g_pCompositor->getWorkspaceByName(workspaceName);

if (workspace != nullptr) {
Expand Down

0 comments on commit fac1be4

Please sign in to comment.