Skip to content

Commit

Permalink
fix: window-rewrite loading
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jan 8, 2024
1 parent 748fc80 commit 21af707
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/hyprland/workspaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ Workspaces::Workspaces(const std::string &id, const Bar &bar, const Json::Value
gIPC = std::make_unique<IPC>();
}

init();
registerIpc();
init();
}

auto Workspaces::parseConfig(const Json::Value &config) -> void {
Expand Down Expand Up @@ -179,7 +179,10 @@ void Workspaces::doUpdate() {
}
}

auto clients_data = gIPC->getSocket1JsonReply("clients");

Check warning on line 182 in src/modules/hyprland/workspaces.cpp

View workflow job for this annotation

GitHub Actions / build

src/modules/hyprland/workspaces.cpp:182:8 [readability-identifier-naming]

invalid case style for variable 'clients_data'
for (auto &workspace : m_workspaces) {
workspace->initializeWindowMap(clients_data);

// active
workspace->setActive(workspace->name() == m_activeWorkspaceName);
// disable urgency if workspace is active
Expand Down

0 comments on commit 21af707

Please sign in to comment.