Move weston_frame_callback above weston_surface_create

Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Pekka Paalanen <ppaalanen@gmail.com>
dev
Jason Ekstrand 11 years ago
parent e9d40e3ff5
commit 108865de88
  1. 10
      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)
{

Loading…
Cancel
Save