diff options
author | Kenichi Handa <handa@m17n.org> | 2005-10-06 02:00:35 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2005-10-06 02:00:35 +0000 |
commit | e5e40bff37bcbca50729d98a6b8cc3e8f2bc99e1 (patch) | |
tree | b926673d40aeb3869d2eb46457fc0519457cc6bb /src | |
parent | c4e8cde8c6cea5ab85abbac10626bd5c1fe5a6af (diff) | |
download | emacs-e5e40bff37bcbca50729d98a6b8cc3e8f2bc99e1.tar.gz emacs-e5e40bff37bcbca50729d98a6b8cc3e8f2bc99e1.tar.bz2 emacs-e5e40bff37bcbca50729d98a6b8cc3e8f2bc99e1.zip |
(handle_one_xevent): Handle keysyms directly mapped to
Unicode characters.
Diffstat (limited to 'src')
-rw-r--r-- | src/xterm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index 655627abded..3b94e3b871c 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -6310,6 +6310,14 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) goto done_keysym; } + /* Keysyms directly mapped to Unicode characters. */ + if (keysym >= 0x01000100 && keysym <= 0x0110FFFF) + { + inev.ie.kind = MULTIBYTE_CHAR_KEYSTROKE_EVENT; + inev.ie.code = keysym & 0xFFFFFF; + goto done_keysym; + } + /* Now non-ASCII. */ if (HASH_TABLE_P (Vx_keysym_table) && (NATNUMP (c = Fgethash (make_number (keysym), |