Chase wlroots: wlr_scene is now a tree node

Chases wlroots 9eb71146ae56c509ee33c7e8a662549592aad870
wlr_scene: Refactor wlr_scene (the root element) to encase a wlr_scene_tree
This commit is contained in:
Consolatis 2022-06-04 23:38:37 +02:00 committed by Johan Malm
parent fb1af5f68e
commit 3f65a2ff77
7 changed files with 17 additions and 16 deletions

View file

@ -13,7 +13,7 @@ touch_get_coords(struct seat *seat, struct wlr_touch *touch, double x, double y,
x, y, &lx, &ly);
struct wlr_scene_node *node =
wlr_scene_node_at(&seat->server->scene->node, lx, ly, sx, sy);
wlr_scene_node_at(&seat->server->scene->tree.node, lx, ly, sx, sy);
/* Find the surface and return it if it accepts touch events. */
struct wlr_surface *surface = lab_wlr_surface_from_node(node);