diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-05 17:27:09 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-05 17:40:16 +0400 |
| commit | 1706a46b2b89178e98d74eea55965b60f70b62cb (patch) | |
| tree | 0185cac7fb7bd70515971b245b880ef67936a364 /src | |
| parent | 3789d855886d490052e626c912b6e38dba691c68 (diff) | |
| download | niri-1706a46b2b89178e98d74eea55965b60f70b62cb.tar.gz niri-1706a46b2b89178e98d74eea55965b60f70b62cb.tar.bz2 niri-1706a46b2b89178e98d74eea55965b60f70b62cb.zip | |
layout: Mark some things as pub
Diffstat (limited to 'src')
| -rw-r--r-- | src/layout/mod.rs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 9ae89f03..2dcabe62 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -56,10 +56,10 @@ use crate::niri_render_elements; use crate::render_helpers::NiriRenderer; use crate::utils::output_size; -mod focus_ring; -mod monitor; -mod tile; -mod workspace; +pub mod focus_ring; +pub mod monitor; +pub mod tile; +pub mod workspace; niri_render_elements! { LayoutElementRenderElement => { @@ -146,16 +146,16 @@ enum MonitorSet<W: LayoutElement> { #[derive(Debug, PartialEq)] pub struct Options { /// Padding around windows in logical pixels. - gaps: i32, + pub gaps: i32, /// Extra padding around the working area in logical pixels. - struts: Struts, - focus_ring: niri_config::FocusRing, - border: niri_config::FocusRing, - center_focused_column: CenterFocusedColumn, + pub struts: Struts, + pub focus_ring: niri_config::FocusRing, + pub border: niri_config::FocusRing, + pub center_focused_column: CenterFocusedColumn, /// Column widths that `toggle_width()` switches between. - preset_widths: Vec<ColumnWidth>, + pub preset_widths: Vec<ColumnWidth>, /// Initial width for new columns. - default_width: Option<ColumnWidth>, + pub default_width: Option<ColumnWidth>, } impl Default for Options { |
