Closed samueldr closed 5 months ago
From version 7 onwards, the fd must be mapped with MAP_PRIVATE by the recipient, as MAP_SHARED may fail.
Hi! :wave:
I have tracked down an issue wherein on aarch64-linux, rofi wouldn't take any input from niri down to this mmap use.
rofi
niri
mmap
Without this change, rofi stays in focus, and only using clicks or killing it does anything useful.
Any attempt to type would result in:
May 04 20:59:58 lumpy rofi[8874]: nk_bindings_seat_handle_key: assertion 'self->keymap != NULL' failed
This does not affect a system with the same configuration on x86_64-linux, so when reproducing YMMV.
x86_64-linux
Thanks for tracking this down!
Hi! :wave:
I have tracked down an issue wherein on aarch64-linux,
rofi
wouldn't take any input fromniri
down to thismmap
use.Without this change,
rofi
stays in focus, and only using clicks or killing it does anything useful.Any attempt to type would result in:
This does not affect a system with the same configuration on
x86_64-linux
, so when reproducing YMMV.