mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-02 01:40:56 -05:00
Drop cg_view_child
This is now unused.
This commit is contained in:
parent
79950cd691
commit
7a7325c0ee
2 changed files with 0 additions and 38 deletions
12
view.h
12
view.h
|
|
@ -24,7 +24,6 @@ enum cg_view_type {
|
|||
struct cg_view {
|
||||
struct cg_server *server;
|
||||
struct wl_list link; // server::views
|
||||
struct wl_list children; // cg_view_child::link
|
||||
struct wlr_surface *wlr_surface;
|
||||
struct wlr_scene_node *scene_node;
|
||||
|
||||
|
|
@ -45,14 +44,6 @@ struct cg_view_impl {
|
|||
void (*destroy)(struct cg_view *view);
|
||||
};
|
||||
|
||||
struct cg_view_child {
|
||||
struct cg_view *view;
|
||||
struct wlr_surface *wlr_surface;
|
||||
struct wl_list link;
|
||||
|
||||
void (*destroy)(struct cg_view_child *child);
|
||||
};
|
||||
|
||||
char *view_get_title(struct cg_view *view);
|
||||
bool view_is_primary(struct cg_view *view);
|
||||
bool view_is_transient_for(struct cg_view *child, struct cg_view *parent);
|
||||
|
|
@ -65,7 +56,4 @@ void view_init(struct cg_view *view, struct cg_server *server, enum cg_view_type
|
|||
|
||||
struct cg_view *view_from_wlr_surface(struct cg_server *server, struct wlr_surface *surface);
|
||||
|
||||
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);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue