mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-23 19:31:30 +11:00
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:
parent
b39df21ba8
commit
ae5172b8a1
|
@ -1055,7 +1055,7 @@ impl Window {
|
||||||
let kb_map_ptr = xkbcommon_sys::xkb_keymap_new_from_string(
|
let kb_map_ptr = xkbcommon_sys::xkb_keymap_new_from_string(
|
||||||
ctx,
|
ctx,
|
||||||
v.as_ptr() as *const _ as *const std::os::raw::c_char,
|
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,
|
0,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue