summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
Diffstat (limited to 'video/out')
-rw-r--r--video/out/wayland_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index 8f9b1e9b55..226c94f7bc 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -344,7 +344,7 @@ static void keyboard_handle_keymap(void *data, struct wl_keyboard *wl_keyboard,
return;
}
- map_str = mmap(NULL, size, PROT_READ, MAP_SHARED, fd, 0);
+ map_str = mmap(NULL, size, PROT_READ, MAP_PRIVATE, fd, 0);
if (map_str == MAP_FAILED) {
close(fd);
return;