1
0
Fork 0
forked from wry/wry

wl_surface: ignore toplevel damage bounds if toplevel is detached

This commit is contained in:
Julian Orth 2025-04-14 13:08:08 +02:00
parent fbefc45253
commit 4038ac1db5
3 changed files with 9 additions and 2 deletions

View file

@ -203,6 +203,13 @@ pub trait ToplevelNodeBase: Node {
let _ = start;
default_tile_drag_bounds(self, split)
}
fn tl_render_bounds(&self) -> Option<Rect> {
self.tl_data()
.parent
.is_some()
.then_some(self.node_absolute_position())
}
}
pub struct FullscreenedData {