• Show log

    Commit

  • Hash : 9de067aa
    Author : Ran Benita
    Date : 2012-08-27T21:31:18

    compat: ignore "group" (compatibility) statements
    
    Group compatibility statements are like the following:
        group 3 = AltGr;
    This currently results in:
        keymap->groups[2].mask = <real mod mapped from AltGr vmod>
    And we don't do any thing with this value later. The reason it exists in
    XKB is to support non-XKB clients (i.e. XKB support disabled entirely in
    the server), which do not know the concept of "group", and use some
    modifier to distinguish between the first and second keyboard layouts
    (usually with the AltGr key). We don't care about all of that, so we can
    forget about it.
    
    One artifact of this removal is that xkb_map_num_groups no longer
    works, because it counted through keymap->groups (this wasn't entirely
    correct BTW). Instead we add a new num_groups member to the keymap,
    which just hold the maximum among the xkb_key's num_groups. This also
    means we don't have to compute anything just to get the number of
    groups.
    
    Signed-off-by: Ran Benita <ran234@gmail.com>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/libxkbcommon.git
    Git SSH git@git.kmx.io:kc3-lang/libxkbcommon.git
    Public access ? public
    Description

    keymap handling library for toolkits and window systems

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg_l thodg
    Tags