diff --git a/ChangeLog b/ChangeLog index 38715891e5..34f886e814 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-04-18 Havoc Pennington + + * gdk/gdkkeyuni.c: Handle numeric keypad keysyms; bug #50201 + 2001-04-18 Havoc Pennington Close bug #50615: diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 38715891e5..34f886e814 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,7 @@ +2001-04-18 Havoc Pennington + + * gdk/gdkkeyuni.c: Handle numeric keypad keysyms; bug #50201 + 2001-04-18 Havoc Pennington Close bug #50615: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 38715891e5..34f886e814 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +2001-04-18 Havoc Pennington + + * gdk/gdkkeyuni.c: Handle numeric keypad keysyms; bug #50201 + 2001-04-18 Havoc Pennington Close bug #50615: diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 38715891e5..34f886e814 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,7 @@ +2001-04-18 Havoc Pennington + + * gdk/gdkkeyuni.c: Handle numeric keypad keysyms; bug #50201 + 2001-04-18 Havoc Pennington Close bug #50615: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 38715891e5..34f886e814 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +2001-04-18 Havoc Pennington + + * gdk/gdkkeyuni.c: Handle numeric keypad keysyms; bug #50201 + 2001-04-18 Havoc Pennington Close bug #50615: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 38715891e5..34f886e814 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +2001-04-18 Havoc Pennington + + * gdk/gdkkeyuni.c: Handle numeric keypad keysyms; bug #50201 + 2001-04-18 Havoc Pennington Close bug #50615: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 38715891e5..34f886e814 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +2001-04-18 Havoc Pennington + + * gdk/gdkkeyuni.c: Handle numeric keypad keysyms; bug #50201 + 2001-04-18 Havoc Pennington Close bug #50615: diff --git a/gdk/gdkkeyuni.c b/gdk/gdkkeyuni.c index 2c37033c63..abbeea3b40 100644 --- a/gdk/gdkkeyuni.c +++ b/gdk/gdkkeyuni.c @@ -796,6 +796,33 @@ static struct { { 0x20aa, 0x20aa }, /* NewSheqelSign ₪ NEW SHEQEL SIGN */ { 0x20ab, 0x20ab }, /* DongSign ₫ DONG SIGN */ { 0x20ac, 0x20ac }, /* EuroSign € EURO SIGN */ + + + /* Following items added to GTK, not in the xterm table */ + + /* Numeric keypad */ + + { 0xFF80 /* Space */, ' ' }, + { 0xFF89 /* Tab */, '\t' }, + { 0xFF8D /* Enter */, '\n' }, + { 0xFFAA /* Multiply */, '*' }, + { 0xFFAB /* Add */, '+' }, + { 0xFFAD /* Subtract */, '-' }, + { 0xFFAE /* Decimal */, '.' }, + { 0xFFAF /* Divide */, '/' }, + { 0xFFB0 /* 0 */, '0' }, + { 0xFFB1 /* 1 */, '1' }, + { 0xFFB2 /* 2 */, '2' }, + { 0xFFB3 /* 3 */, '3' }, + { 0xFFB4 /* 4 */, '4' }, + { 0xFFB5 /* 5 */, '5' }, + { 0xFFB6 /* 6 */, '6' }, + { 0xFFB7 /* 7 */, '7' }, + { 0xFFB8 /* 8 */, '8' }, + { 0xFFB9 /* 9 */, '9' }, + { 0xFFBD /* Equal */, '=' }, + + /* End numeric keypad */ }; /**