]> Pileus Git - ~andy/gtk/commit
New functions, code blocks refactored out of update_keymap(). No
authorTor Lillqvist <tml@novell.com>
Tue, 1 Feb 2005 11:26:05 +0000 (11:26 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 1 Feb 2005 11:26:05 +0000 (11:26 +0000)
commit7a2e34562c81a7354bcde58aef2db35173d2eedf
tree9b96acb8cde1d5e768283bec888d6921de30fbde
parent4594c980b0e1c2cae6d48f3302e4b0b8060d6ae4
New functions, code blocks refactored out of update_keymap(). No

2005-02-01  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkkeys-win32.c (handle_special, set_shift_vks,
reset_after_dead, handle_dead): New functions, code blocks
refactored out of update_keymap(). No functionality change.

(update_keymap): Use ToUnicodeEx() when available (on NT-based
Windows) instead of ToAsciiEx(). Makes keyboard input work in
Unicode-only input locales that don't have any ANSI codepage, for
instance Hindi and Bengali. Use _gdk_input_codepage only on
Win9x. (#165723)

* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
WM_INPUTLANGCHANGE, use GetLocaleInfo() instead of
TranslateCharsetInfo() to get the input locale's corresponding
codepage, if any.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gdk/win32/gdkevents-win32.c
gdk/win32/gdkkeys-win32.c