diff options
author | Phil Jones <philj56@gmail.com> | 2022-10-21 23:37:24 +0100 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-10-21 23:37:24 +0100 |
commit | d1b94b4487c72b13320a281ad6a2fc291e4c79c7 (patch) | |
tree | d4b7ce738f9ad14dd55a1054a39901bf835db2a5 /src/utf8.c | |
parent | 7bb70c7407f652c584837d651fb9bcdb6b66ff9f (diff) |
Initial input handling cleanup.
Also changed keyboard shortcuts to use physical keycodes, rather than
XKB keysyms. This means shortcuts don't shift when keyboard layout is
changed.
Diffstat (limited to 'src/utf8.c')
-rw-r--r-- | src/utf8.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2,6 +2,11 @@ #include "utf8.h" +uint32_t utf8_isprint(uint32_t c) +{ + return g_unichar_isprint(c); +} + uint32_t utf8_isupper(uint32_t c) { return g_unichar_isupper(c); |