[PATCH weston 4/6] compositor: weston_output::region is in global coords

Pekka Paalanen ppaalanen at gmail.com
Wed Feb 25 05:48:59 PST 2015


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

Add a comment saying it is. I'm not aware of misuses of it.

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

diff --git a/src/compositor.h b/src/compositor.h
index 76af451..57b671d 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -190,7 +190,10 @@ struct weston_output {
 	struct wl_list animation_list;
 	int32_t x, y, width, height;
 	int32_t mm_width, mm_height;
+
+	/** Output area in global coordinates, simple rect */
 	pixman_region32_t region;
+
 	pixman_region32_t previous_damage;
 	int repaint_needed;
 	int repaint_scheduled;
-- 
2.0.5



More information about the wayland-devel mailing list