[wip] move view_init and view_destroy to view-impl-common.c

This commit is contained in:
Consolatis 2023-05-04 18:10:08 +02:00
parent 1506fe3af8
commit 7a2ea5b54c
4 changed files with 96 additions and 89 deletions

View file

@ -20,6 +20,9 @@ void view_impl_map(struct view *view);
*/
void view_impl_apply_geometry(struct view *view, int w, int h);
void view_init(struct view *view);
void view_destroy(struct view *view);
void view_impl_remove_common_listeners(struct view *view);
#endif /* __LABWC_VIEW_IMPL_COMMON_H */

View file

@ -202,9 +202,6 @@ void view_adjust_size(struct view *view, int *w, int *h);
void view_evacuate_region(struct view *view);
void view_on_output_destroy(struct view *view);
void view_init(struct view *view);
void view_destroy(struct view *view);
/* xdg.c */
struct wlr_xdg_surface *xdg_surface_from_view(struct view *view);