diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-10-10 09:24:20 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-10-10 09:24:20 +0300 |
| commit | ab7d81aae00e88395f85b629489512b4a7bac064 (patch) | |
| tree | 239f976094a3454022754e218fb71c6fceee8431 /src/layout/tile.rs | |
| parent | e24723125f5ef91983735043fba893a940469686 (diff) | |
| download | niri-ab7d81aae00e88395f85b629489512b4a7bac064.tar.gz niri-ab7d81aae00e88395f85b629489512b4a7bac064.tar.bz2 niri-ab7d81aae00e88395f85b629489512b4a7bac064.zip | |
layout: Reduce field visibility
The outside code isn't supposed to mess with the fields.
Diffstat (limited to 'src/layout/tile.rs')
| -rw-r--r-- | src/layout/tile.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/tile.rs b/src/layout/tile.rs index 11c266d4..28b3ffd0 100644 --- a/src/layout/tile.rs +++ b/src/layout/tile.rs @@ -74,7 +74,7 @@ pub struct Tile<W: LayoutElement> { scale: f64, /// Configurable properties of the layout. - pub options: Rc<Options>, + pub(super) options: Rc<Options>, } niri_render_elements! { |
