Skip to content

xwayland: Use MAP_PRIVATE for keymaps

Olivier Fourdan requested to merge ofourdan/xserver:fix-wl_seat_version-8 into master

With wl_pointer.axis_v120 support, the wl_seat supported version has been bumped to 8, but Xwayland is still using MAP_SHARED which is prohibited, wl_seat version 7 and above enforces the use of MAP_PRIVATE for keymaps.

Use MAP_PRIVATE for the keymaps mmap().

Signed-off-by: Olivier Fourdan ofourdan@redhat.com Closes: #1512 (closed) Fixes: 3a02f56b - hook up wl_pointer.axis_v120 events

Edited by Olivier Fourdan

Merge request reports

Loading