diff options
author | Max Ihlenfeldt <mihlenfeldt@igalia.com> | 2021-12-15 18:14:56 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-01-07 13:30:29 +0000 |
commit | 8893573651f16f1c3079c1bcbba7d82663c4f6a1 (patch) | |
tree | eafeb40dac10795baab039b024a754f216a669d8 /protocol | |
parent | eca836add596f5c00fd556613d510df81f0e23b2 (diff) | |
download | wayland-8893573651f16f1c3079c1bcbba7d82663c4f6a1.tar.gz |
protocol: clarify wl_shm_pool.resize
Add a note that the request only changes the size of the memory mapping
and does not touch the mapped file.
Signed-off-by: Max Ihlenfeldt <mihlenfeldt@igalia.com>
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/wayland.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 784d971..2ba2843 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -258,6 +258,12 @@ for the pool from the file descriptor passed when the pool was created, but using the new size. This request can only be used to make the pool bigger. + + This request only changes the amount of bytes that are mmapped + by the server and does not touch the file corresponding to the + file descriptor passed at creation time. It is the client's + responsibility to ensure that the file is at least as big as + the new pool size. </description> <arg name="size" type="int" summary="new size of the pool, in bytes"/> </request> |