From 78590b3aff9c71407ff245c120b4d844e6b79c41 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Fri, 16 Jul 2021 13:35:37 +0200 Subject: [PATCH] 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 --- protocol/wayland.xml | 7 ++++--- 1 file 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. -- 2.7.4