From 4771add12a279aceb53bd1e7f949ba6ba859f2e0 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Sun, 11 Feb 2024 08:51:23 +0400 Subject: [PATCH] Add xkb_state_serialize functions --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index e008e63e5..12fd13b5a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -276,6 +276,8 @@ functions: fn xkb_state_key_get_level(*mut xkb_state, xkb_keycode_t, xkb_layout_index_t) -> xkb_level_index_t, fn xkb_state_mod_name_is_active(*mut xkb_state, *const c_char, xkb_state_component) -> c_int, fn xkb_state_mod_index_is_active(*mut xkb_state, xkb_mod_index_t, xkb_state_component) -> c_int, + fn xkb_state_serialize_mods(*mut xkb_state, xkb_state_component) -> xkb_mod_mask_t, + fn xkb_state_serialize_layout(*mut xkb_state, xkb_state_component) -> xkb_layout_index_t, ); // Compose and dead-keys support module