Revert "Bug 676077: Fix handling of Keyboard Input on Windows"

The actual code that does the IM context code handling on Windows now uses the
native Windows APIs to handle keystrokes, so this patch is no longer needed, as
it was found that it instead caused issues.

Pointed out in issue #2865.

This reverts commit fd6ce9975e.
This commit is contained in:
Chun-wei Fan 2022-01-17 11:15:51 +08:00 committed by Philip Zander
parent 3bfaaab4f7
commit 905f021bbd

View File

@ -835,18 +835,13 @@ static const struct {
/* Following items added to GTK, not in the xterm table */ /* Following items added to GTK, not in the xterm table */
/* A few ASCII control characters */ /* A few ASCII control characters */
#ifndef GDK_WINDOWING_WIN32
{ 0xFF08 /* Backspace */, '\b' }, { 0xFF08 /* Backspace */, '\b' },
{ 0xFF09 /* Tab */, '\t' }, { 0xFF09 /* Tab */, '\t' },
#endif
{ 0xFF0A /* Linefeed */, '\n' }, { 0xFF0A /* Linefeed */, '\n' },
{ 0xFF0B /* Vert. Tab */, '\v' }, { 0xFF0B /* Vert. Tab */, '\v' },
#ifndef GDK_WINDOWING_WIN32
{ 0xFF0D /* Return */, '\r' }, { 0xFF0D /* Return */, '\r' },
{ 0xFF1B /* Escape */, '\033' }, { 0xFF1B /* Escape */, '\033' },
#endif
/* Numeric keypad */ /* Numeric keypad */
@ -871,9 +866,7 @@ static const struct {
/* End numeric keypad */ /* End numeric keypad */
#ifndef GDK_WINDOWING_WIN32
{ 0xFFFF /* Delete */, '\177' } { 0xFFFF /* Delete */, '\177' }
#endif
}; };
/** /**