diff --git a/komorebi/src/static_config.rs b/komorebi/src/static_config.rs index 9435bbad..75c46bb8 100644 --- a/komorebi/src/static_config.rs +++ b/komorebi/src/static_config.rs @@ -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({ diff --git a/komorebi/src/workspace.rs b/komorebi/src/workspace.rs index 13cbb817..b8ae9b2c 100644 --- a/komorebi/src/workspace.rs +++ b/komorebi/src/workspace.rs @@ -92,6 +92,7 @@ pub struct Workspace { window_container_behaviour_rules: Option>, #[getset(get = "pub", get_mut = "pub", set = "pub")] float_override: Option, + #[serde(skip)] #[getset(get = "pub", set = "pub")] workspace_config: Option, }