libweston: Add weston_surface_map() wrapper

Change all instances of surface->is_mapped = true, to a specialised
function.

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone
2022-06-12 20:51:45 +01:00
committed by Marius Vlad
parent 51fe874ad4
commit 0c69688aa2
13 changed files with 37 additions and 29 deletions
+3
View File
@@ -1971,6 +1971,9 @@ weston_view_damage_below(struct weston_view *view);
void
weston_view_unmap(struct weston_view *view);
void
weston_surface_map(struct weston_surface *surface);
void
weston_surface_unmap(struct weston_surface *surface);