mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
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>
This commit is contained in:
parent
434d797d27
commit
5ce947bd90
1 changed files with 3 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue