chore: remove unused function
This commit is contained in:
parent
e14a3b8687
commit
a0d2d95b41
|
@ -134,7 +134,6 @@ class Workspaces : public AModule, public EventHandler {
|
|||
private:
|
||||
void onEvent(const std::string&) override;
|
||||
void update_window_count();
|
||||
void initialize_window_maps();
|
||||
void sort_workspaces();
|
||||
void create_workspace(Json::Value& workspace_data,
|
||||
const Json::Value& clients_data = Json::Value::nullRef);
|
||||
|
|
|
@ -417,13 +417,6 @@ void Workspaces::update_window_count() {
|
|||
}
|
||||
}
|
||||
|
||||
void Workspaces::initialize_window_maps() {
|
||||
Json::Value clients_data = gIPC->getSocket1JsonReply("clients");
|
||||
for (auto &workspace : workspaces_) {
|
||||
workspace->initialize_window_map(clients_data);
|
||||
}
|
||||
}
|
||||
|
||||
void Workspace::initialize_window_map(const Json::Value &clients_data) {
|
||||
window_map_.clear();
|
||||
for (auto client : clients_data) {
|
||||
|
|
Loading…
Reference in New Issue