1
0
Fork 0
forked from wry/wry

Add support for experimental xx_foreign_toplevel_geometry_tracker_v1 (#1)

Co-authored-by: entailz <entail-wraps0r@icloud.com>
Reviewed-on: wry/wry#1
Co-authored-by: entailz <entailzwrapped@proton.me>
Co-committed-by: entailz <entailzwrapped@proton.me>
This commit is contained in:
entailz 2026-04-30 17:08:19 -04:00 committed by kossLAN
parent 4e9b6def83
commit f056727621
36 changed files with 497 additions and 243 deletions

View file

@ -515,12 +515,7 @@ impl FloatNode {
let theme = &self.state.theme.sizes;
let bw = theme.border_width.get();
let pos = self.position.get();
let body = Rect::new(
pos.x1() + bw,
pos.y1() + bw,
pos.x2() - bw,
pos.y2() - bw,
)?;
let body = Rect::new(pos.x1() + bw, pos.y1() + bw, pos.x2() - bw, pos.y2() - bw)?;
child.tl_tile_drag_destination(source, None, body, abs_x, abs_y)
}
}