mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-04-08 08:21:12 -04:00
Replace view_wlr_surface_at impl with scene-graph
This commit is contained in:
parent
17b48b6823
commit
4fc4f88efe
4 changed files with 1 additions and 17 deletions
2
view.c
2
view.c
|
|
@ -300,5 +300,5 @@ view_from_wlr_surface(struct cg_server *server, struct wlr_surface *surface)
|
|||
struct wlr_surface *
|
||||
view_wlr_surface_at(struct cg_view *view, double sx, double sy, double *sub_x, double *sub_y)
|
||||
{
|
||||
return view->impl->wlr_surface_at(view, sx, sy, sub_x, sub_y);
|
||||
return wlr_scene_node_surface_at(&view->scene_surface->node, sx, sy, sub_x, sub_y);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue