Chase wlroots: wlr_scene_surface

To update the wlroots subproject use
meson subprojects update wlroots
This commit is contained in:
Consolatis 2022-05-26 00:39:04 +02:00 committed by Johan Malm
parent 3699a2a7f6
commit 163179dda1
9 changed files with 39 additions and 22 deletions

View file

@ -69,7 +69,7 @@ unmanaged_handle_map(struct wl_listener *listener, void *data)
parent = &view->scene_tree->node;
}
/* node will be destroyed automatically once surface is destroyed */
node = &wlr_scene_surface_create(parent, xsurface->surface)->node;
node = &wlr_scene_surface_create(parent, xsurface->surface)->buffer->node;
wlr_scene_node_set_position(node, lx, ly);
}