protocol: mention that keymap mapping must be read-only
authorSimon Ser <contact@emersion.fr>
Sat, 4 Sep 2021 14:18:43 +0000 (16:18 +0200)
committerSimon Ser <contact@emersion.fr>
Thu, 16 Sep 2021 08:25:05 +0000 (08:25 +0000)
It may be obvious that the mapping must be established in read-only
mode, but it wasn't specified in the specification text.

Signed-off-by: Simon Ser <contact@emersion.fr>
protocol/wayland.xml

index a87e9dd..8c31cdc 100644 (file)
     <event name="keymap">
       <description summary="keyboard mapping">
        This event provides a file descriptor to the client which can be
-       memory-mapped to provide a keyboard mapping description.
+       memory-mapped in read-only mode to provide a keyboard mapping
+       description.
 
        From version 7 onwards, the fd must be mapped with MAP_PRIVATE by
        the recipient, as MAP_SHARED may fail.