chase: use wlroots tree node getters

This commit is contained in:
nullableVoidPtr 2023-12-03 16:36:20 +08:00 committed by Johan Malm
parent e841d44b6f
commit 41891209fc
8 changed files with 9 additions and 27 deletions

View file

@ -138,7 +138,7 @@ ssd_extents_update(struct ssd *ssd)
struct wlr_box *target;
wl_list_for_each(part, &ssd->extents.parts, link) {
rect = lab_wlr_scene_get_rect(part->node);
rect = wlr_scene_rect_from_node(part->node);
target = part->geometry;
switch (part->type) {
case LAB_SSD_PART_TOP: