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 <pekka.paalanen@collabora.co.uk>
Reviewed-By: Giulio Camuffo <giuliocamuffo@gmail.com>
This commit is contained in:
Pekka Paalanen 2015-02-18 16:06:46 +02:00
parent 32318a52c0
commit 2d6e551a0b

View File

@ -759,6 +759,8 @@ struct weston_view {
struct wl_list link; struct wl_list link;
struct weston_layer_entry layer_link; struct weston_layer_entry layer_link;
struct weston_plane *plane; struct weston_plane *plane;
/* For weston_layer inheritance from another view */
struct weston_view *parent_view; struct weston_view *parent_view;
pixman_region32_t clip; /* See weston_view_damage_below() */ pixman_region32_t clip; /* See weston_view_damage_below() */