aboutsummaryrefslogtreecommitdiffstats
path: root/protocol/wayland.xml
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-09-04 16:18:43 +0200
committerSimon Ser <contact@emersion.fr>2021-09-16 08:25:05 +0000
commit7ef305d073f8d86aa7bf8a41ffcbbc7984b1f55a (patch)
treea7e53c5a93e8afe37091a74e526d194ffe678b86 /protocol/wayland.xml
parentgitlab-ci: add a FreeBSD test job (diff)
downloadwayland-7ef305d073f8d86aa7bf8a41ffcbbc7984b1f55a.tar
wayland-7ef305d073f8d86aa7bf8a41ffcbbc7984b1f55a.tar.gz
wayland-7ef305d073f8d86aa7bf8a41ffcbbc7984b1f55a.tar.bz2
wayland-7ef305d073f8d86aa7bf8a41ffcbbc7984b1f55a.tar.lz
wayland-7ef305d073f8d86aa7bf8a41ffcbbc7984b1f55a.tar.xz
wayland-7ef305d073f8d86aa7bf8a41ffcbbc7984b1f55a.tar.zst
wayland-7ef305d073f8d86aa7bf8a41ffcbbc7984b1f55a.zip
protocol: mention that keymap mapping must be read-only
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>
Diffstat (limited to 'protocol/wayland.xml')
-rw-r--r--protocol/wayland.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index a87e9dd..8c31cdc 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -2220,7 +2220,8 @@
<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.