summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorJan Grulich <jgrulich@redhat.com>2021-07-16 13:35:37 +0200
committerSimon Ser <contact@emersion.fr>2021-11-15 13:20:41 +0000
commit78590b3aff9c71407ff245c120b4d844e6b79c41 (patch)
treedce6092887412e4c3a2be1762785e552b831b2f4 /protocol
parent1638dad6137d7dd26a4a8c5d931bbb5c52dda46c (diff)
downloadwayland-78590b3aff9c71407ff245c120b4d844e6b79c41.tar.gz
protocol: clarify wl_data_offer::selection
Clearly specify that switching focus within the same client doesn't mean a new selection will be send. Signed-off-by: Jan Grulich <jgrulich@redhat.com>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/wayland.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 89e6aab..784d971 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -960,9 +960,10 @@
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. The client must
- destroy the previous selection data_offer, if any, upon receiving
- this event.
+ or until the client loses keyboard focus. Switching surface with
+ keyboard focus within the same client doesn't mean a new selection
+ will be sent. 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"
summary="selection data_offer object"/>