Skip to content

Commit

Permalink
moves createWorkspace to update()
Browse files Browse the repository at this point in the history
  • Loading branch information
MightyPlaza authored Jul 16, 2023
1 parent 5f0fa71 commit 6d24b22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/modules/hyprland/workspaces.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Workspaces : public AModule, public EventHandler {
private:
void onEvent(const std::string&) override;
void sort_workspaces();
void create_workspace(const Json::Value& value);
void create_workspace(Json::Value& value);
void remove_workspace(std::string name);

bool all_outputs_ = false;
Expand All @@ -65,7 +65,7 @@ class Workspaces : public AModule, public EventHandler {
bool with_icon_;
std::string active_workspace_name;
std::vector<std::unique_ptr<Workspace>> workspaces_;
std::vector<int> workspaces_to_create_;
std::vector<Json::Value> workspaces_to_create_;
std::vector<std::string> workspaces_to_remove_;
std::mutex mutex_;
const Bar& bar_;
Expand Down

0 comments on commit 6d24b22

Please sign in to comment.