mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-13 14:42:29 +02:00
fix: set workspace as persistent on create_workspace
This commit is contained in:
@ -487,6 +487,9 @@ void Workspaces::create_workspace(Json::Value const &workspace_data,
|
||||
});
|
||||
|
||||
if (workspace != workspaces_.end()) {
|
||||
if (workspace_data["persistent"].asBool() and !(*workspace)->is_persistent()) {
|
||||
(*workspace)->set_persistent();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user