diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-01-31 19:24:26 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-01-31 21:30:22 +0300 |
| commit | a0e2a15c60162e4f0a589fb5f0ce0899bce213b5 (patch) | |
| tree | 5810709fa4c8819692e3f7d8047b6c5f80e8f8de /src/window/unmapped.rs | |
| parent | 88c6778771d8196621072b562466f6e8e68dbbc3 (diff) | |
| download | niri-a0e2a15c60162e4f0a589fb5f0ce0899bce213b5.tar.gz niri-a0e2a15c60162e4f0a589fb5f0ce0899bce213b5.tar.bz2 niri-a0e2a15c60162e4f0a589fb5f0ce0899bce213b5.zip | |
Take border into account for fixed preset-column-width for tiled windows
Diffstat (limited to 'src/window/unmapped.rs')
| -rw-r--r-- | src/window/unmapped.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/window/unmapped.rs b/src/window/unmapped.rs index cf8754b4..6ca11b50 100644 --- a/src/window/unmapped.rs +++ b/src/window/unmapped.rs @@ -5,7 +5,6 @@ use smithay::wayland::shell::xdg::ToplevelSurface; use smithay::wayland::xdg_activation::XdgActivationTokenData; use super::ResolvedWindowRules; -use crate::layout::scrolling::ColumnWidth; #[derive(Debug)] pub struct Unmapped { @@ -34,7 +33,7 @@ pub enum InitialConfigureState { /// Resolved scrolling default width for this window. /// /// `None` means that the window will pick its own width. - width: Option<ColumnWidth>, + width: Option<PresetSize>, /// Resolved scrolling default height for this window. /// @@ -44,7 +43,7 @@ pub enum InitialConfigureState { /// Resolved floating default width for this window. /// /// `None` means that the window will pick its own width. - floating_width: Option<ColumnWidth>, + floating_width: Option<PresetSize>, /// Resolved floating default height for this window. /// |
