diff options
Diffstat (limited to 'src/layout')
| -rw-r--r-- | src/layout/floating.rs | 2 | ||||
| -rw-r--r-- | src/layout/scrolling.rs | 2 | ||||
| -rw-r--r-- | src/layout/workspace.rs | 4 |
3 files changed, 4 insertions, 4 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) } 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) } diff --git a/src/layout/workspace.rs b/src/layout/workspace.rs index 519a9c61..5bebeb8a 100644 --- a/src/layout/workspace.rs +++ b/src/layout/workspace.rs @@ -797,9 +797,9 @@ impl<W: LayoutElement> Workspace<W> { } if is_floating { - state.bounds = Some(self.floating.toplevel_bounds(rules)); + state.bounds = Some(self.floating.new_window_toplevel_bounds(rules)); } else { - state.bounds = Some(self.scrolling.toplevel_bounds(rules)); + state.bounds = Some(self.scrolling.new_window_toplevel_bounds(rules)); } }); } |
