aboutsummaryrefslogtreecommitdiff
path: root/src/layout/floating.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-02-06 10:54:48 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-02-07 09:26:43 +0300
commit7ec771f7ec4415695b1e5fb3c90ac54eac3dd5c3 (patch)
treee3e08be6202d182e5a64ee8ffb3203185ad24c99 /src/layout/floating.rs
parenta42a5ac696bdbed39a990e9e451985dc3ff9d7c9 (diff)
downloadniri-7ec771f7ec4415695b1e5fb3c90ac54eac3dd5c3.tar.gz
niri-7ec771f7ec4415695b1e5fb3c90ac54eac3dd5c3.tar.bz2
niri-7ec771f7ec4415695b1e5fb3c90ac54eac3dd5c3.zip
layout: Rename toplevel_bounds() to new_window_toplevel_bounds()
Diffstat (limited to 'src/layout/floating.rs')
-rw-r--r--src/layout/floating.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/floating.rs b/src/layout/floating.rs
index 15c99e87..342663ac 100644
--- a/src/layout/floating.rs
+++ b/src/layout/floating.rs
@@ -318,7 +318,7 @@ impl<W: LayoutElement> FloatingSpace<W> {
})
}
- 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)
}