-
Kai Uwe Broulik authored
This makes use of the new RamFile class to create a sealed anonymous file to pass the keymap information to clients. Since wl_seat version 7 [1] it is specified that clients must map the received fd as `MAP_PRIVATE`. This means we can use `SEAL_WRITE` on the file to prevent clients from tampering with it and subsequently reuse the same file for all clients using wl_seat version 7 or above. [1] https://gitlab.freedesktop.org/wayland/wayland/-/commit/905c0a341ddf0a885811d19e2b79c65a3f1d210c Signed-off-by: Victoria Fischer <victoria.fischer@mbition.io>
50ae6580