libX11: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jan 26 20:55:40 UTC 2022


 modules/im/ximcp/imThaiFlt.c |    4 +---
 src/xkb/XKBCvt.c             |    3 ---
 2 files changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 402b843fa72166d9ceefd887f5cea4728cbc6995
Author: Benno Schulenberg <bensberg at telfort.nl>
Date:   Wed Jan 26 17:20:28 2022 +0100

    remove a commented-out code fragment, and remove a stray blank line
    
    Signed-off-by: Benno Schulenberg <bensberg at telfort.nl>

commit fbbc3cf8b8b03f74f778772d4703fc4fec242282
Author: Benno Schulenberg <bensberg at telfort.nl>
Date:   Wed Jan 26 16:55:50 2022 +0100

    XKBCvt: remove an if that never gets triggered
    
    The 'if' at the beginning of _XkbHandleSpecialSym() allows only symbols
    from the numeric keypad and some control symbols to pass -- XK_hyphen
    is not among them, so the check for XK_hyphen in the later 'if' will
    always be false.
    
    (The corresponding conversion in _XTranslateKeySym() in KeyBind.c was
    removed in March 1994.)
    
    (Also, several keyboard layouts nowadays contain the 'hyphen' symbol,
    allowing the user to enter soft hyphens into a document.  So we really
    don't want to remap this symbol.)
    
    Fixes issue #48.
    
    Reported-by: Bhavi Dhingra
    
    Signed-off-by: Benno Schulenberg <bensberg at telfort.nl>



More information about the xorg-commit mailing list