• Olivier Fourdan's avatar
    xkb: add hook to allow/deny AccessX key repeat · fda5675f
    Olivier Fourdan authored
    The xserver generates the key repeat by itself.
    
    But when used with another server processing inputs first (e.g. a
    Wayland compositor), the other server may be busy dealing with some
    other things and not queue up key release events in time.
    
    Add a vfunc in XkbSrvInfo to possibly add a check before re-emitting a
    keypress event in the AccessX timer handler, so that the key repeat has
    a chance to be denied if the server processing the input is not ready.
    Signed-off-by: 's avatarOlivier Fourdan <ofourdan@redhat.com>
    Reviewed-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
    fda5675f