mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
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:
parent
fb1af5f68e
commit
3f65a2ff77
7 changed files with 17 additions and 16 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue