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 6, 2024
1 parent 2674982 commit 46d58e9
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 @@ -51,8 +51,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 @@ -180,7 +180,10 @@ auto Workspaces::update() -> void {
}
}

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

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

View workflow job for this annotation

GitHub Actions / build

src/modules/hyprland/workspaces.cpp:183: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 46d58e9

Please sign in to comment.