aboutsummaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2015-01-23 16:21:14 +0800
committerBryce Harrington <bryce@osg.samsung.com>2015-01-23 18:20:35 -0800
commit5ce947bd9043c989e2caa4a6053e542b048a5718 (patch)
tree87d5ab4ae67449de1bec65e3a114464917abbb9d /protocol
parentprotocol: Fix typo in wl_data_offer (diff)
downloadwayland-5ce947bd9043c989e2caa4a6053e542b048a5718.tar
wayland-5ce947bd9043c989e2caa4a6053e542b048a5718.tar.gz
wayland-5ce947bd9043c989e2caa4a6053e542b048a5718.tar.bz2
wayland-5ce947bd9043c989e2caa4a6053e542b048a5718.tar.lz
wayland-5ce947bd9043c989e2caa4a6053e542b048a5718.tar.xz
wayland-5ce947bd9043c989e2caa4a6053e542b048a5718.tar.zst
wayland-5ce947bd9043c989e2caa4a6053e542b048a5718.zip
protocol: Clarify selection data offer destruction requirement
Clarify that a client receiving a wl_data_device.selection event must destroy the data_offer of the previous wl_data_device.selection event, if any. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index ac1b62f..2a49805 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -643,7 +643,9 @@
immediately before receiving keyboard focus and when a new
selection is set while the client has keyboard focus. The
data_offer is valid until a new data_offer or NULL is received
- or until the client loses keyboard focus.
+ or until the client loses keyboard focus. The client must
+ destroy the previous selection data_offer, if any, upon receiving
+ this event.
</description>
<arg name="id" type="object" interface="wl_data_offer" allow-null="true"/>
</event>