1
0
Fork 0
forked from wry/wry

mmap: use MAP_PRIVATE for all keymaps

This commit is contained in:
Julian Orth 2024-12-18 11:57:01 +01:00
parent 206a2ed4fc
commit 9c73a7c7e9
4 changed files with 3 additions and 4 deletions

View file

@ -169,7 +169,7 @@ impl JayInput {
where
F: FnOnce(&Rc<XkbKeymap>) -> Result<(), JayInputError>,
{
let cm = Rc::new(ClientMem::new(
let cm = Rc::new(ClientMem::new_private(
keymap,
len as _,
true,