rust-x-bindings / xkbcommon-rs

bindings and safe wrappers for libxkbcommon
MIT License
20 stars 24 forks source link

`xkb::State::new_from_fd` should map the fd with MAP_PRIVATE #18

Closed i509VCB closed 2 years ago

i509VCB commented 2 years ago

Starting with version 7 of the wl_keyboard protocol, the protocol now mandates that the file descriptor for the keymap is mapped using MAP_PRIVATE.

Would also be nice to upgrade to memmap2 while we are at this.