Move weston_frame_callback above weston_surface_create
Signed-off-by: Jason Ekstrand <jason.ekstrand@intel.com> Reviewed-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
+5
-5
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user