protocol: wl_shm.format events are actually sent after bind
authorMikhail Gusarov <dottedmag@dottedmag.net>
Sun, 20 Feb 2022 19:10:49 +0000 (20:10 +0100)
committerMikhail Gusarov <dottedmag@dottedmag.net>
Mon, 21 Feb 2022 10:13:45 +0000 (11:13 +0100)
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 <dottedmag@dottedmag.net>
protocol/wayland.xml

index bb31bc9..92e2432 100644 (file)
       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.
     </description>