aboutsummaryrefslogtreecommitdiff
path: root/src/layout/floating.rs
diff options
context:
space:
mode:
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)
}