libX11: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Dec 22 21:00:10 UTC 2019


 src/KeyBind.c |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit a48787d3d155c8a09cead345f5055da30c1db537
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Wed Dec 11 14:12:27 2019 +1000

    Handle ssharp in XConvertCase()
    
    lowercase: LATIN SMALL LETTER SHARP S (U+00DF)
    uppercase: LATIN CAPITAL LETTER SHARP S (U+1E9E)
    
    The uppercase sharp s (XK_ssharp) is a relatively recent addition to unicode
    but was added to the relevant keyboard layouts in xkeyboard-config-2.25
    (d1411e5e95c)
    https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/144
    
    Alas, the CapsLock behavior was broken on the finnish layout (maybe others).
    This was due to xkbcomp using XConvertCase() to determine whether a key
    requires the type FOUR_LEVEL_ALPHABETIC or FOUR_LEVEL_SEMIALPHABETIC.
    
    Let's make this function return the right lower/upper symbols for the sharp s
    and hope that the world won't get any worse because of it.
    
    https://gitlab.freedesktop.org/xorg/lib/libx11/issues/110
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-commit mailing list