From 338dbd76194fa58b4b443def006e986f64f10769 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 31 Jan 2014 15:55:48 -0500 Subject: [PATCH] protocol: Fix documentation for the parameter of wl_callback The parameter here is an opaque integer, rather than the event serial. The "frame" callback uses this to pass the current time of day in milliseconds. --- protocol/wayland.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index b9aa9f1..26e0d5c 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -45,6 +45,8 @@ The object returned by this request will be destroyed by the compositor after the callback is fired and as such the client must not attempt to use it after that point. + + The data passed in the callback is the event serial. @@ -170,7 +172,7 @@ Notify the client when the related request is done. - + @@ -1076,6 +1078,8 @@ The object returned by this request will be destroyed by the compositor after the callback is fired and as such the client must not attempt to use it after that point. + + The data passed in the callback is the current time, in milliseconds. -- 2.7.4