diff options
author | Julian Orth <ju.orth@gmail.com> | 2022-01-07 23:26:18 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-01-08 15:20:02 +0000 |
commit | 3978669ece8bf2f5cb7318782607840195244368 (patch) | |
tree | 77cc310134a2942b90d46613f76a51a26203b962 /video/out/mac | |
parent | d09c73c7b2b0135cb24ab2173b3c4ee1c55840b0 (diff) | |
download | mpv-3978669ece8bf2f5cb7318782607840195244368.tar.bz2 mpv-3978669ece8bf2f5cb7318782607840195244368.tar.xz |
wayland: map keymaps with `MAP_PRIVATE`
While mpv uses version 1 of the `wl_seat` protocol and `MAP_PRIVATE` is
only required from version 7 on, using `MAP_PRIVATE` allows us to be
compatible with compositors that have only been tested with newer
applications.
Since the keymap is not modified after `mmap`, using `MAP_SHARED` has no
advantage over `MAP_PRIVATE`.
Diffstat (limited to 'video/out/mac')
0 files changed, 0 insertions, 0 deletions