diff options
Diffstat (limited to 'xkbcat.c')
| -rw-r--r-- | xkbcat.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -3,6 +3,9 @@ #include <X11/XKBlib.h> #include <X11/extensions/XInput2.h> +#define XK_LATIN1 +#include <X11/keysymdef.h> + #include <stdbool.h> #include <stdio.h> #include <stdlib.h> @@ -145,6 +148,11 @@ int main(int argc, char *argv[]) { continue; } } + + if ((s >= XK_A && s <= XK_Z) || (s >= XK_a && s <= XK_z)) { + continue; + } + char *str = XKeysymToString(s); if (NULL == str) continue; |
