diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-06 10:54:48 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-07 09:26:43 +0300 |
| commit | 7ec771f7ec4415695b1e5fb3c90ac54eac3dd5c3 (patch) | |
| tree | e3e08be6202d182e5a64ee8ffb3203185ad24c99 /src/layout/scrolling.rs | |
| parent | a42a5ac696bdbed39a990e9e451985dc3ff9d7c9 (diff) | |
| download | niri-7ec771f7ec4415695b1e5fb3c90ac54eac3dd5c3.tar.gz niri-7ec771f7ec4415695b1e5fb3c90ac54eac3dd5c3.tar.bz2 niri-7ec771f7ec4415695b1e5fb3c90ac54eac3dd5c3.zip | |
layout: Rename toplevel_bounds() to new_window_toplevel_bounds()
Diffstat (limited to 'src/layout/scrolling.rs')
| -rw-r--r-- | src/layout/scrolling.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/scrolling.rs b/src/layout/scrolling.rs index e1593251..08e133fb 100644 --- a/src/layout/scrolling.rs +++ b/src/layout/scrolling.rs @@ -411,7 +411,7 @@ impl<W: LayoutElement> ScrollingSpace<W> { col.is_fullscreen } - pub fn toplevel_bounds(&self, rules: &ResolvedWindowRules) -> Size<i32, Logical> { + pub fn new_window_toplevel_bounds(&self, rules: &ResolvedWindowRules) -> Size<i32, Logical> { let border_config = rules.border.resolve_against(self.options.border); compute_toplevel_bounds(border_config, self.working_area.size, self.options.gaps) } |
