mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-19 05:33:58 -04:00
Replace view_wlr_surface_at with scene-graph
This commit is contained in:
parent
6d60c6c464
commit
fb3dc58237
5 changed files with 22 additions and 54 deletions
2
view.h
2
view.h
|
|
@ -45,7 +45,6 @@ struct cg_view_impl {
|
|||
void (*activate)(struct cg_view *view, bool activate);
|
||||
void (*maximize)(struct cg_view *view, int output_width, int output_height);
|
||||
void (*destroy)(struct cg_view *view);
|
||||
struct wlr_surface *(*wlr_surface_at)(struct cg_view *view, double sx, double sy, double *sub_x, double *sub_y);
|
||||
};
|
||||
|
||||
struct cg_view_child {
|
||||
|
|
@ -79,7 +78,6 @@ void view_destroy(struct cg_view *view);
|
|||
void view_init(struct cg_view *view, struct cg_server *server, enum cg_view_type type, const struct cg_view_impl *impl);
|
||||
|
||||
struct cg_view *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);
|
||||
|
||||
void view_child_finish(struct cg_view_child *child);
|
||||
void view_child_init(struct cg_view_child *child, struct cg_view *view, struct wlr_surface *wlr_surface);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue