diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2014-06-26 10:04:49 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2014-07-07 09:12:32 -0700 |
commit | 108865de88b401c5f0499f94907e09703a349312 (patch) | |
tree | b7c9fdb216c47b9f215b76c29f8798e597e5a484 | |
parent | e9d40e3ff5e089f25badd8c600e2a47452d42afc (diff) |
Move weston_frame_callback above weston_surface_create
Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Pekka Paalanen <ppaalanen@gmail.com>
-rw-r--r-- | src/compositor.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/compositor.c b/src/compositor.c index d414e274..a8824315 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -377,6 +377,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) { @@ -1357,11 +1362,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) { |