From 65c74cb18b8410c95ebbb57e49695c7b84fe9c21 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Thu, 24 Nov 2011 15:05:07 +0200 Subject: [PATCH] compositor: add a comment about wlsc_surface::output Signed-off-by: Pekka Paalanen --- compositor/compositor.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/compositor/compositor.h b/compositor/compositor.h index 27859b3a..fde253c1 100644 --- a/compositor/compositor.h +++ b/compositor/compositor.h @@ -260,7 +260,14 @@ struct wlsc_surface { struct wl_list buffer_link; struct wlsc_transform *transform; uint32_t visual; + + /* + * Which output to vsync this surface to. + * Used to determine, whether to send or queue frame events. + * Must be NULL, if 'link' is not in wlsc_compositor::surface_list. + */ struct wlsc_output *output; + struct wlsc_output *fullscreen_output; struct wl_list frame_callback_list;