mirror of
https://github.com/wez/wezterm.git
synced 2024-09-11 14:25:57 +03:00
Newer wayland protocol expects us to mmap the keymap file descriptor (and do so with certain mmap flags). The current code tries to handle both normal files and pipes, but neither will work in some cases. This updates the code to use xkbcommon's new_from_fd, which is what the toolkit uses, and mmap's the file. This fixes #5393, which was caused by hanging when trying to read the file as if it was a pipe. |
||
---|---|---|
.. | ||
examples | ||
src | ||
build.rs | ||
Cargo.toml | ||
LICENSE.md |