Display sync sends always the same serial (if nothing intervenes and increases the serial for the sync).
Signed-off-by: Marek Chalupa <mchqwe...@gmail.com> --- src/wayland-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index 674aeca..54284fa 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -717,7 +717,7 @@ display_sync(struct wl_client *client, return; } - serial = wl_display_get_serial(client->display); + serial = wl_display_next_serial(client->display); wl_callback_send_done(callback, serial); wl_resource_destroy(callback); } -- 1.9.3 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel