use crate::layout::workspace::ColumnWidth; pub mod mapped; pub use mapped::Mapped; pub mod unmapped; pub use unmapped::{InitialConfigureState, Unmapped}; /// Rules fully resolved for a window. #[derive(Debug, Default)] pub struct ResolvedWindowRules { /// Default width for this window. /// /// - `None`: unset (global default should be used). /// - `Some(None)`: set to empty (window picks its own width). /// - `Some(Some(width))`: set to a particular width. pub default_width: Option>, /// Output to open this window on. pub open_on_output: Option, /// Whether the window should open full-width. pub open_maximized: Option, /// Whether the window should open fullscreen. pub open_fullscreen: Option, }