Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wm): include workspace rules on cached monitor
The `WorkspaceConfig` stored on `Workspace` was changed to not be serialized, however it needs to be serialized and deserialized when caching a monitor (after a disconnect), so that when it reconnects it is able to read all the workspace rules, which include: - initial_workspace_rules - workspace_rules - window_container_behaviour_rules - layout_rules - custom_layout_rules This commit changes the serde skip to only skip if is is `None`. This means that the `komorebic state` command will have all this information as well and it will send it when notifying subscribers too, which isn't good at all, so we need to find another way of excluding it from the state.
- Loading branch information