mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-24 18:31:22 +01:00
fix(wm): serde skip annotation for workspace_config
This commit is contained in:
@@ -1253,7 +1253,6 @@ impl StaticConfig {
|
||||
let c_idx = display_index_preferences
|
||||
.iter()
|
||||
.find_map(|(c_idx, m_id)| (monitor.device_id() == m_id).then_some(*c_idx));
|
||||
drop(display_index_preferences);
|
||||
c_idx
|
||||
};
|
||||
let idx = preferred_config_idx.or({
|
||||
@@ -1382,7 +1381,6 @@ impl StaticConfig {
|
||||
let c_idx = display_index_preferences
|
||||
.iter()
|
||||
.find_map(|(c_idx, m_id)| (monitor.device_id() == m_id).then_some(*c_idx));
|
||||
drop(display_index_preferences);
|
||||
c_idx
|
||||
};
|
||||
let idx = preferred_config_idx.or({
|
||||
|
||||
@@ -92,6 +92,7 @@ pub struct Workspace {
|
||||
window_container_behaviour_rules: Option<Vec<(usize, WindowContainerBehaviour)>>,
|
||||
#[getset(get = "pub", get_mut = "pub", set = "pub")]
|
||||
float_override: Option<bool>,
|
||||
#[serde(skip)]
|
||||
#[getset(get = "pub", set = "pub")]
|
||||
workspace_config: Option<WorkspaceConfig>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user