mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
layout: Rename toplevel_bounds() to new_window_toplevel_bounds()
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user