Introduction
Introduction Statistics Contact Development Disclaimer Help
Added debugging prints. - sam - An updated version of the sam text editor.
git clone git://vernunftzentrum.de/sam.git
Log
Files
Refs
LICENSE
---
commit 20cf9c1ad1e419eda25949b34e9ee537e4f5430d
parent f13f9b0ce3c5bbe21d9183332c3f373157170db4
Author: Rob King <[email protected]>
Date: Wed, 30 Nov 2016 16:35:15 -0600
Added debugging prints.
Diffstat:
libXg/gwin.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
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->x…
XkbTranslateKeySym(e->xany.display, &k, e->xkey.state, buf, sizeof(buf) - …
+ 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){
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.