diff options
| author | Nils <nils@nilsand.re> | 2020-03-25 16:41:11 +0000 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2020-03-29 21:00:33 +0200 |
| commit | a6b3a0956b2fe53b291abe01433a4cea2c88e35a (patch) | |
| tree | 5547beefc2ffd9206c8f07ee965e9f0daa969ebf /completions/zsh | |
| parent | 73754703c5f39e541e845d7ea4794bd8f3f509e8 (diff) | |
Use xkb_keymap_new_from_buffer instead of xkb_keymap_new_from_string
xkb_keymap_new_from_string just calls xkb_keymap_new_from_buffer with size as `strlen(string)`.
https://github.com/xkbcommon/libxkbcommon/blob/0f1cae0cc482575c71d29d6241115886ebf25dec/src/keymap.c#L164
According to the [spec](https://gitlab.freedesktop.org/wayland/wayland/-/blob/master/protocol/wayland.xml#L2182), MAP_PRIVATE should be used.
Diffstat (limited to 'completions/zsh')
0 files changed, 0 insertions, 0 deletions
