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
|
|
@ -96,12 +96,6 @@ destroy(struct cg_view *view)
|
|||
free(xwayland_view);
|
||||
}
|
||||
|
||||
static struct wlr_surface *
|
||||
wlr_surface_at(struct cg_view *view, double sx, double sy, double *sub_x, double *sub_y)
|
||||
{
|
||||
return wlr_surface_surface_at(view->wlr_surface, sx, sy, sub_x, sub_y);
|
||||
}
|
||||
|
||||
static void
|
||||
handle_xwayland_surface_request_fullscreen(struct wl_listener *listener, void *data)
|
||||
{
|
||||
|
|
@ -173,7 +167,6 @@ static const struct cg_view_impl xwayland_view_impl = {
|
|||
.activate = activate,
|
||||
.maximize = maximize,
|
||||
.destroy = destroy,
|
||||
.wlr_surface_at = wlr_surface_at,
|
||||
};
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue