Update xkb_keymap reference (#233)

The xkbcommon_sys crate seems to have been updated today, and now the minifb project won't compile. 

We can fix this by updating XKB_KEYMAP_FORMAT_TEXT_v1 to XKB_KEYMAP_FORMAT_TEXT_V1.
This commit is contained in:
Daniel Jordan 2021-01-09 15:12:23 -05:00 committed by GitHub
parent b39df21ba8
commit ae5172b8a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1055,7 +1055,7 @@ impl Window {
let kb_map_ptr = xkbcommon_sys::xkb_keymap_new_from_string(
ctx,
v.as_ptr() as *const _ as *const std::os::raw::c_char,
xkbcommon_sys::xkb_keymap_format::XKB_KEYMAP_FORMAT_TEXT_v1,
xkbcommon_sys::xkb_keymap_format::XKB_KEYMAP_FORMAT_TEXT_V1,
0,
);