Improve handling of Unicode keyboard input on MS-Windows
commit123c82e8307ca386ba7f161dc725e3953dffc5c0
authorIlya Zakharevich <ilya@math.berkeley.edu>
Fri, 31 Jul 2015 08:50:23 +0000 (31 11:50 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 31 Jul 2015 08:50:23 +0000 (31 11:50 +0300)
treeb52752e19fe6f93384c6b6d0b1d74380b05f701f
parentb07ca177d449e58e6e5c14e21e140e63354e335c
Improve handling of Unicode keyboard input on MS-Windows

* src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
(FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
(w32_wnd_proc): Call deliver_wm_chars to process non-special keys
upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages.  If that is
successful, don't call TranslateMessage.  (Bug#19994)
src/w32fns.c