Replace view_wlr_surface_at impl with scene-graph

This commit is contained in:
Simon Ser 2021-08-10 11:40:54 +02:00
parent 17b48b6823
commit 4fc4f88efe
4 changed files with 1 additions and 17 deletions

View file

@ -226,13 +226,6 @@ destroy(struct cg_view *view)
free(xdg_shell_view);
}
static struct wlr_surface *
wlr_surface_at(struct cg_view *view, double sx, double sy, double *sub_x, double *sub_y)
{
struct cg_xdg_shell_view *xdg_shell_view = xdg_shell_view_from_view(view);
return wlr_xdg_surface_surface_at(xdg_shell_view->xdg_surface, sx, sy, sub_x, sub_y);
}
static void
handle_xdg_shell_surface_request_fullscreen(struct wl_listener *listener, void *data)
{
@ -300,7 +293,6 @@ static const struct cg_view_impl xdg_shell_view_impl = {
.activate = activate,
.maximize = maximize,
.destroy = destroy,
.wlr_surface_at = wlr_surface_at,
};
void