From af8b5c07826ed2f2624cf87c0e2da4f8e9089ee0 Mon Sep 17 00:00:00 2001 From: Mikhail Gusarov Date: Sun, 20 Feb 2022 20:10:49 +0100 Subject: protocol: wl_shm.format events are actually sent after bind Protocol documentation mistakenly specified that wl_shm.format events are sent at connection setup time, but that's impossible (clients do not yet know ID of wl_shm object at the time) and contradicts implementation in libwayland. Signed-off-by: Mikhail Gusarov --- protocol/wayland.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocol') diff --git a/protocol/wayland.xml b/protocol/wayland.xml index bb31bc9..92e2432 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -277,8 +277,8 @@ Clients can create wl_shm_pool objects using the create_pool request. - At connection setup time, the wl_shm object emits one or more - format events to inform clients about the valid pixel formats + On binding the wl_shm object one or more format events + are emitted to inform clients about the valid pixel formats that can be used for buffers. -- cgit v1.2.3-70-g09d2