From 2d6e551a0b5172cb17d37a1a15e670ce9d90a82c Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Wed, 18 Feb 2015 16:06:46 +0200 Subject: [PATCH] compositor: add a doc note for weston_view::parent_view It is used by sub-surfaces only, for fetching the root view's weston_layer. Signed-off-by: Pekka Paalanen Reviewed-By: Giulio Camuffo --- src/compositor.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compositor.h b/src/compositor.h index 47b60368..a90ede66 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -759,6 +759,8 @@ struct weston_view { struct wl_list link; struct weston_layer_entry layer_link; struct weston_plane *plane; + + /* For weston_layer inheritance from another view */ struct weston_view *parent_view; pixman_region32_t clip; /* See weston_view_damage_below() */