diff --git a/include/libweston/libweston.h b/include/libweston/libweston.h index a89311d2d..713198ae7 100644 --- a/include/libweston/libweston.h +++ b/include/libweston/libweston.h @@ -2193,9 +2193,6 @@ void weston_surface_set_size(struct weston_surface *surface, int32_t width, int32_t height); -void -weston_view_damage_below(struct weston_view *view); - void weston_view_unmap(struct weston_view *view); diff --git a/libweston/compositor.c b/libweston/compositor.c index 76e95e2f1..aede7f99c 100644 --- a/libweston/compositor.c +++ b/libweston/compositor.c @@ -1279,12 +1279,6 @@ weston_paint_node_move_to_plane(struct weston_paint_node *pnode, PAINT_NODE_VISIBILITY_DIRTY; } -WL_EXPORT void -weston_view_damage_below(struct weston_view *view) -{ - weston_view_schedule_repaint(view); -} - /** Send wl_surface.enter/leave events * * \param surface The surface.