From d1b94b4487c72b13320a281ad6a2fc291e4c79c7 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Fri, 21 Oct 2022 23:37:24 +0100 Subject: 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. --- src/utf8.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/utf8.c') diff --git a/src/utf8.c b/src/utf8.c index 7ed6046..bd0c425 100644 --- a/src/utf8.c +++ b/src/utf8.c @@ -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); -- cgit v1.2.3