Added debugging prints. - 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 20cf9c1ad1e419eda25949b34e9ee537e4f5430d
 (DIR) parent f13f9b0ce3c5bbe21d9183332c3f373157170db4
 (HTM) Author: Rob King <jking@deadpixi.com>
       Date:   Wed, 30 Nov 2016 16:35:15 -0600
       
       Added debugging prints.
       
       Diffstat:
         libXg/gwin.c                        |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/libXg/gwin.c b/libXg/gwin.c
       @@ -254,7 +254,9 @@ Keyaction(Widget w, XEvent *e, String *p, Cardinal *np)
            if(e->xany.type != KeyPress)
                return;
            XkbTranslateKeyCode(xkb, (KeyCode)e->xkey.keycode, e->xkey.state, &md, &k);
       +    fprintf(stderr, "keycode %u, state %d, result %lu ", e->xkey.keycode, e->xkey.state, k);
            XkbTranslateKeySym(e->xany.display, &k, e->xkey.state, buf, sizeof(buf) - 1, &len);
       +    fprintf(stderr, " buf %s\n", buf);
        
            /* Check to see if it's a specially-handled key first. */
            for (Keymapping *m = keymappings; m; m = m->next){