diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-11-24 15:59:07 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-11-24 16:17:12 +0300 |
| commit | 45b45ac29d654c0e6759ab996c69dfde40053536 (patch) | |
| tree | 171852de830d18c23ff30b43386ee128a6f2552f /src/layout/scrolling.rs | |
| parent | 9eeedff6295d17dd44594e2e8bcc1911f1535989 (diff) | |
| download | niri-45b45ac29d654c0e6759ab996c69dfde40053536.tar.gz niri-45b45ac29d654c0e6759ab996c69dfde40053536.tar.bz2 niri-45b45ac29d654c0e6759ab996c69dfde40053536.zip | |
layout/tests: Amend check for window-rule tests
This check doesn't handle tabbed columns properly (it should find and
take the fixed height tile's height); for now just gate it on is_tabbed.
Diffstat (limited to 'src/layout/scrolling.rs')
| -rw-r--r-- | src/layout/scrolling.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout/scrolling.rs b/src/layout/scrolling.rs index 6e819ea4..ee4d1ee9 100644 --- a/src/layout/scrolling.rs +++ b/src/layout/scrolling.rs @@ -5399,7 +5399,8 @@ impl<W: LayoutElement> Column<W> { tile.tile_height_for_window_height(f64::from(requested_size.h)); let min_tile_height = f64::max(1., tile.min_size_nonfullscreen().h); - if self.pending_sizing_mode().is_normal() + if !is_tabbed + && self.pending_sizing_mode().is_normal() && self.scale.round() == self.scale && working_size.h.round() == working_size.h && gaps.round() == gaps |
