[PATCH weston 1/3] compositor: add a doc note for weston_view::parent_view

Pekka Paalanen ppaalanen at gmail.com
Thu Feb 19 01:27:46 PST 2015


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

It is used by sub-surfaces only, for fetching the root view's
weston_layer.

Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
 src/compositor.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/compositor.h b/src/compositor.h
index 47b6036..a90ede6 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() */
-- 
2.0.5



More information about the wayland-devel mailing list