diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-12 09:34:54 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-02-12 09:34:54 +0400 |
| commit | 18f06a7acd79feb16dc667b68a1ffd0d59e234c8 (patch) | |
| tree | 38fdaa7786d5092fcf8782a19a849c4074c21316 /src/layout/mod.rs | |
| parent | 6e2307301991a187b8d4a28cdbbf7a49d33039d5 (diff) | |
| download | niri-18f06a7acd79feb16dc667b68a1ffd0d59e234c8.tar.gz niri-18f06a7acd79feb16dc667b68a1ffd0d59e234c8.tar.bz2 niri-18f06a7acd79feb16dc667b68a1ffd0d59e234c8.zip | |
Fix border getting default values for focus ring
Diffstat (limited to 'src/layout/mod.rs')
| -rw-r--r-- | src/layout/mod.rs | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 9443093f..dfc7ee0a 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -153,7 +153,7 @@ pub struct Options { /// Extra padding around the working area in logical pixels. pub struts: Struts, pub focus_ring: niri_config::FocusRing, - pub border: niri_config::FocusRing, + pub border: niri_config::Border, pub center_focused_column: CenterFocusedColumn, /// Column widths that `toggle_width()` switches between. pub preset_widths: Vec<ColumnWidth>, @@ -168,7 +168,7 @@ impl Default for Options { gaps: 16, struts: Default::default(), focus_ring: Default::default(), - border: niri_config::FocusRing::default_border(), + border: Default::default(), center_focused_column: Default::default(), preset_widths: vec