compositor: weston_output::region is in global coords

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

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
dev
Pekka Paalanen 10 years ago
parent 9e944d3070
commit efd08c7262
  1. 3
      src/compositor.h

@ -190,7 +190,10 @@ struct weston_output {
struct wl_list animation_list; struct wl_list animation_list;
int32_t x, y, width, height; int32_t x, y, width, height;
int32_t mm_width, mm_height; int32_t mm_width, mm_height;
/** Output area in global coordinates, simple rect */
pixman_region32_t region; pixman_region32_t region;
pixman_region32_t previous_damage; pixman_region32_t previous_damage;
int repaint_needed; int repaint_needed;
int repaint_scheduled; int repaint_scheduled;

Loading…
Cancel
Save