diff options
| author | Jonas Ådahl <jadahl@gmail.com> | 2015-01-23 16:21:14 +0800 |
|---|---|---|
| committer | Bryce Harrington <bryce@osg.samsung.com> | 2015-01-23 18:20:35 -0800 |
| commit | 5ce947bd9043c989e2caa4a6053e542b048a5718 (patch) | |
| tree | 87d5ab4ae67449de1bec65e3a114464917abbb9d /protocol | |
| parent | protocol: Fix typo in wl_data_offer (diff) | |
| download | wayland-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.xml | 4 |
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> |
