diff options
| author | Rob Bradford <rob@linux.intel.com> | 2013-04-17 18:28:42 +0100 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-04-18 16:28:52 -0400 |
| commit | e7d0a0b0ed4f61ce8fbddc0a49a95f04e0959be4 (patch) | |
| tree | 143bc5a1f9687f0cedc187d3d522cf282d2f6520 /protocol/wayland.xml | |
| parent | configure.ac: Bump version to 1.1.0 (diff) | |
| download | wayland-e7d0a0b0ed4f61ce8fbddc0a49a95f04e0959be4.tar wayland-e7d0a0b0ed4f61ce8fbddc0a49a95f04e0959be4.tar.gz wayland-e7d0a0b0ed4f61ce8fbddc0a49a95f04e0959be4.tar.bz2 wayland-e7d0a0b0ed4f61ce8fbddc0a49a95f04e0959be4.tar.lz wayland-e7d0a0b0ed4f61ce8fbddc0a49a95f04e0959be4.tar.xz wayland-e7d0a0b0ed4f61ce8fbddc0a49a95f04e0959be4.tar.zst wayland-e7d0a0b0ed4f61ce8fbddc0a49a95f04e0959be4.zip | |
protocol: Make it clear that returned "one-shot" objects are destroyed
The objects returned by the frame and sync request are destroyed by the
compositor after the "done" event on the wl_callback interface is fired.
Diffstat (limited to 'protocol/wayland.xml')
| -rw-r--r-- | protocol/wayland.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index eda9441..edb8a03 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -40,6 +40,10 @@ handled in-order and events are delivered in-order, this can used as a barrier to ensure all previous requests and the resulting events have been handled. + + 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. </description> <arg name="callback" type="new_id" interface="wl_callback"/> </request> @@ -972,6 +976,10 @@ damage, or any other state changes. wl_surface.commit triggers a display update, so the callback event will arrive after the next output refresh where the surface is visible. + + 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. </description> <arg name="callback" type="new_id" interface="wl_callback"/> |
