layout/tile: Remove unused function

As far as I can tell, it was unused even when it was first added.
This commit is contained in:
Ivan Molodetskikh
2025-09-04 08:16:47 +03:00
parent 0b500334f9
commit d0e98d6e73
-11
View File
@@ -827,17 +827,6 @@ impl<W: LayoutElement> Tile<W> {
Point::from((0., y))
}
pub fn draw_border_with_background(&self) -> bool {
if self.effective_border_width().is_some() {
return false;
}
self.window
.rules()
.draw_border_with_background
.unwrap_or_else(|| !self.window.has_ssd())
}
fn render_inner<'a, R: NiriRenderer + 'a>(
&'a self,
renderer: &mut R,