diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-03-27 12:19:42 +0100 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2012-03-27 12:19:42 +0100 |
commit | 729ac12f1c7ea6c5de548765b10738b261a43852 (patch) | |
tree | d276bdb37c6ed074c55b98c4355327fc51efc3c8 /include | |
parent | f89b0a80ba65193979fdb5d98ece642055d06470 (diff) | |
download | libxkbcommon-729ac12f1c7ea6c5de548765b10738b261a43852.tar.gz libxkbcommon-729ac12f1c7ea6c5de548765b10738b261a43852.tar.bz2 libxkbcommon-729ac12f1c7ea6c5de548765b10738b261a43852.zip |
Remove unused changes structs
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/xkbcommon/xkbcommon.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/include/xkbcommon/xkbcommon.h b/include/xkbcommon/xkbcommon.h index 4f83867..09fec54 100644 --- a/include/xkbcommon/xkbcommon.h +++ b/include/xkbcommon/xkbcommon.h @@ -374,7 +374,6 @@ struct xkb_desc { struct xkb_compat_map * compat; }; - #define XkbKeyGroupInfo(d,k) ((d)->map->key_sym_map[k].group_info) #define XkbKeyNumGroups(d,k) (XkbNumGroups((d)->map->key_sym_map[k].group_info)) #define XkbKeyGroupWidth(d,k,g) (XkbKeyType(d,k,g)->num_levels) @@ -400,68 +399,6 @@ struct xkb_desc { ((k)<=(d)->max_key_code)) #define XkbNumKeys(d) ((d)->max_key_code-(d)->min_key_code+1) -struct xkb_map_changes { - unsigned short changed; - xkb_keycode_t min_key_code; - xkb_keycode_t max_key_code; - unsigned char first_type; - unsigned char num_types; - xkb_keycode_t first_key_sym; - xkb_keycode_t num_key_syms; - xkb_keycode_t first_key_act; - xkb_keycode_t num_key_acts; - xkb_keycode_t first_key_behavior; - xkb_keycode_t num_key_behaviors; - xkb_keycode_t first_key_explicit; - xkb_keycode_t num_key_explicit; - xkb_keycode_t first_modmap_key; - xkb_keycode_t num_modmap_keys; - xkb_keycode_t first_vmodmap_key; - xkb_keycode_t num_vmodmap_keys; - unsigned short vmods; -}; - -struct xkb_controls_changes { - unsigned int changed_ctrls; - unsigned int enabled_ctrls_changes; - int num_groups_changed; -}; - -struct xkb_indicator_changes { - unsigned int state_changes; - unsigned int map_changes; -}; - -struct xkb_name_changes { - unsigned int changed; - unsigned char first_type; - unsigned char num_types; - unsigned char first_lvl; - unsigned char num_lvls; - xkb_keycode_t num_aliases; - xkb_keycode_t first_key; - xkb_keycode_t num_keys; - unsigned short changed_vmods; - unsigned long changed_indicators; - unsigned char changed_groups; -}; - -struct xkb_compat_changes { - unsigned char changed_groups; - unsigned short first_si; - unsigned short num_si; -}; - -struct xkb_changes { - unsigned short device_spec; - unsigned short state_changes; - struct xkb_map_changes map; - struct xkb_controls_changes ctrls; - struct xkb_indicator_changes indicators; - struct xkb_name_changes names; - struct xkb_compat_changes compat; -}; - struct xkb_component_names { char * keymap; char * keycodes; |