From: root Date: Fri, 2 Apr 2010 19:27:38 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=91a40ef8336dc5b0fbb9b48481ef2732df89db4e;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/Changes b/Changes index 8568e7e6..939f1596 100644 --- a/Changes +++ b/Changes @@ -23,13 +23,15 @@ TODO: perl-shell-window? TODO: - upgrade to libev-4.00. TODO: make fontCount dependent on ENABLE_256... in an INTELLIGENT way - - fix numlock handling (Emanuele Giaquinta). + - fix numlock handling, the most longstanding bug to date (Emanuele Giaquinta). - searchable-scrollback no longer ignores the first line (Emanuele Giaquinta). - add support for 256 colors. - add support for grabbing the clipboard selection and extend selection{_clear,_grab,} perl bindings to optionally work on the clipboard selection (based on patch by Dana Jansens). + - fix a buffer overflow that would cause wrong key sequences to + be generated for numpad keys (introduced in 9.05). - extend ISO 14755 5.4 mode to also print the font name of the characters other than first one in the selected cell (Emanuele Giaquinta). @@ -38,7 +40,8 @@ TODO: make fontCount dependent on ENABLE_256... in an INTELLIGENT way - new on_bell perl hook (Emanuele Giaquinta). - new iso14755 option to disable ISO 14755 at runtime (Emanuele Giaquinta). - - reduce the number of custom bits to 4. + - reduce the number of custom bits to 4, to make room + for 256 colours. 9.07 Wed Dec 30 07:07:18 CET 2009 - port to glibc-2.10 changes (strchr etc. returning const char * diff --git a/src/command.C b/src/command.C index 8a4f21df..07219ab4 100644 --- a/src/command.C +++ b/src/command.C @@ -651,7 +651,10 @@ rxvt_term::key_press (XKeyEvent &ev) if (ev.state & ModNumLockMask) kp = false; - switch (translate_keypad (keysym, kp)) + + keysym = translate_keypad (keysym, kp); + + switch (keysym) { #ifndef NO_BACKSPACE_KEY case XK_BackSpace: