• Show log

    Commit

  • Hash : afdc9cee
    Author : Peter Hutterer
    Date : 2020-10-19T10:49:37

    xkbcomp: where a keysym cannot be resolved, set it to NoSymbol
    
    Where resolve_keysym fails we warn but use the otherwise uninitialized variable
    as our keysym. That later ends up in the keymap as random garbage hex value.
    
    Simplest test case, set this in the 'us' keymap:
        key <TLDE>               {      [        xyz ] };
    
    And without this patch we get random garbage:
    ./build/xkbcli-compile-keymap --layout us | grep TLDE:
        key <TLDE>               {      [      0x018a5cf0 ] };
    
    With this patch, we now get NoSymbol:
    ./build/xkbcli-compile-keymap --layout us | grep TLDE:
        key <TLDE>               {      [        NoSymbol ] };
    

  • 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