• Show log

    Commit

  • Hash : 87bfd973
    Author : Ran Benita
    Date : 2012-09-02T11:29:31

    action: keep array of default actions, instead of list of changes
    
    The implementation of changing the default properties of actions, e.g. a
    statements such as (from test/data/compat/basic):
        setMods.clearLocks= True;
        latchMods.clearLocks= True;
        latchMods.latchToLock= True;
    works by keeping a list of ActionInfo's, each containing the neccesary
    info from each statement, and then when some action comes up (e.g. in an
    interpret statment) it goes through the list, and applies the relevent
    ActionInfo's to the newly-constructed xkb_action.
    
    Instead of doing this, we add a struct ActionsInfo, which contains an
    array of xkb_actions, one for each type. When a default changing
    statement appears, we change the action in the array; when a new action
    comes up, we just copy from the array. This is simpler to figure out,
    and pretty straightforward.
    
    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