Add weston_surface_has_content()

Just a trivial wrapper to tell you whether or not the surface has valid
content.

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone
2022-06-15 15:50:22 +01:00
committed by Marius Vlad
parent f212a703cf
commit 13ead893e2
2 changed files with 13 additions and 0 deletions
+3
View File
@@ -1928,6 +1928,9 @@ weston_surface_attach_solid(struct weston_surface *surface,
void
weston_buffer_destroy_solid(struct weston_buffer_reference *buffer_ref);
bool
weston_surface_has_content(struct weston_surface *surface);
void
weston_view_destroy(struct weston_view *view);