Don't print modifier keysyms on higher mods. - sam - An updated version of the sam text editor.
 (HTM) git clone git://vernunftzentrum.de/sam.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 64ca870b0f576d609030cee84808d195d57b5009
 (DIR) parent 3206dba4f40428b4a8eadc72c083c439481f5d99
 (HTM) Author: Rob King <jking@deadpixi.com>
       Date:   Wed,  3 May 2017 10:01:34 -0500
       
       Don't print modifier keysyms on higher mods.
       
       Diffstat:
         libXg/gwin.c                        |       9 ++++++---
       
       1 file changed, 6 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/libXg/gwin.c b/libXg/gwin.c
       @@ -309,13 +309,16 @@ Keyaction(Widget w, XEvent *e, String *p, Cardinal *np)
                return;
            }
        
       -    /* Handle Multi_key separately, since it isn't a modifier */
       -    if(k == XK_Multi_key) {
       +    /* Handle Multi_key and shifts separately, since it isn't a modifier */
       +    if(k == XK_Multi_key){
                composing = -1;
                return;
            }
        
       -    if(k == NoSymbol || k > 0xff00)
       +    /* If we got a lone modifier key, no key, or a key outside of the
       +     * representable range, ignore it.
       +     */
       +    if (IsModifierKey(k) || k == NoSymbol || k > 0xff00)
                return;
        
            /* Check to see if we are in a composition sequence */