[PATCH v2 2/3] Move weston_frame_callback above weston_surface_create

Jason Ekstrand jason at jlekstrand.net
Thu Jun 26 11:19:04 PDT 2014


Signed-off-by: Jason Ekstrand <jason.ekstrand at intel.com>
---
 src/compositor.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/compositor.c b/src/compositor.c
index fa8730f..4ccae79 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -384,6 +384,11 @@ weston_view_create(struct weston_surface *surface)
 	return view;
 }
 
+struct weston_frame_callback {
+	struct wl_resource *resource;
+	struct wl_list link;
+};
+
 WL_EXPORT struct weston_surface *
 weston_surface_create(struct weston_compositor *compositor)
 {
@@ -1364,11 +1369,6 @@ weston_surface_reset_pending_buffer(struct weston_surface *surface)
 	surface->pending.buffer_viewport.changed = 0;
 }
 
-struct weston_frame_callback {
-	struct wl_resource *resource;
-	struct wl_list link;
-};
-
 WL_EXPORT void
 weston_view_destroy(struct weston_view *view)
 {
-- 
2.0.0



More information about the wayland-devel mailing list