• Show log

    Commit

  • Hash : 9a18b872
    Author : Ran Benita
    Date : 2012-09-23T17:52:51

    Add format argument to xkb_keymap_get_as_string
    
    This function really needs a format argument, for symmetry with the
    keymap creation functions. If we add new formats, we will almost
    certainly want to add support for serializing it into a string. It would
    also allow to convert from one format to another, etc.
    
    The in the common case, the user would just want to use the format she
    used to create the keymap; for that we add a special
    XKB_KEYMAP_USE_ORIGINAL_FORMAT value, which will do that (it is defined
    to -1 outside of the enum because I have a feeling we might want to use
    0 for something else). To support this we need to keep the format inside
    the keymap. While we're at it we also initialize keymap flags properly.
    
    This changes the API, but the old xkb_map_get_as_string name works as
    expected so this is the best time to do this.
    
    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 thodg_l
    Tags