wayland: Use wl_callback_send_done
For no specific reason...
This commit is contained in:
parent
7d3012fd67
commit
9edff6f250
@ -505,8 +505,7 @@ meta_wayland_compositor_paint_finished (MetaWaylandCompositor *compositor)
|
|||||||
MetaWaylandFrameCallback *callback =
|
MetaWaylandFrameCallback *callback =
|
||||||
wl_container_of (compositor->frame_callbacks.next, callback, link);
|
wl_container_of (compositor->frame_callbacks.next, callback, link);
|
||||||
|
|
||||||
wl_resource_post_event (callback->resource,
|
wl_callback_send_done (callback->resource, get_time ());
|
||||||
WL_CALLBACK_DONE, get_time ());
|
|
||||||
wl_resource_destroy (callback->resource);
|
wl_resource_destroy (callback->resource);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user