• Show log

    Commit

  • Hash : 67b03cea
    Author : Ran Benita
    Date : 2012-09-21T16:30:01

    state: correctly wrap state->locked_group and ->group
    
    These values weren't wrapped before, which caused group_index_is_active
    to stop working after a few group switches.
    
    Also, the current group-wrapping function didn't take into consideration
    actions such as LockGroup=-1, which need to wrap around, etc.
    xkb_layout_index_t is unsigned, but it was used to hold possibly
    negative values (e.g. locked_group is 0 and gets a -1 action).
    
    This group wrapping function should now act like the XkbAdjustGroup
    function from xserver, and at least ./test/interactive doesn't bring up
    any problems with group switching any more.
    
    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