Skip to content
Commit b5ed59c8 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

client: Add F_SEAL_SHRINK seal to shm pool backing file

The compositor must handle the case where the client attempts to shrink
shm pool backing file. Usually it's done by adding a SIGBUS handler that
remaps the backing file so it's filled with zeros.

libwayland-server has a clever trick to avoid doing messy signal
handling business by checking if the backing file has F_SEAL_SHRINK seal.

This change makes KWayland::Client::ShmPool more nicer to the compositor.
parent bb1c0c61
Pipeline #269960 passed with stage
in 4 minutes and 41 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment