mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
view: implement view_from_wlr_surface in terms of wlr_surface->data pointer
This commit is contained in:
parent
1ccbacf198
commit
ba9c245393
3 changed files with 12 additions and 12 deletions
2
view.h
2
view.h
|
|
@ -54,6 +54,6 @@ void view_map(struct cg_view *view, struct wlr_surface *surface);
|
|||
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 cg_view *view_from_wlr_surface(struct wlr_surface *surface);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue