ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.404 by root, Sat Feb 2 15:19:55 2008 UTC vs.
Revision 1.405 by ayin, Thu Feb 14 23:51:46 2008 UTC

302 302
303void 303void
304rxvt_term::key_press (XKeyEvent &ev) 304rxvt_term::key_press (XKeyEvent &ev)
305{ 305{
306 int ctrl, meta, shft, len; 306 int ctrl, meta, shft, len;
307 unsigned int newlen;
308 KeySym keysym; 307 KeySym keysym;
309 int valid_keysym; 308 int valid_keysym;
310 char kbuf[KBUFSZ]; 309 char kbuf[KBUFSZ];
311 310
312#if ISO_14755 311#if ISO_14755
549 548
550 if (keysym >= 0xFF00 && keysym <= 0xFFFF) 549 if (keysym >= 0xFF00 && keysym <= 0xFFFF)
551 { 550 {
552 { 551 {
553 bool kp = priv_modes & PrivMode_aplKP ? !shft : shft; 552 bool kp = priv_modes & PrivMode_aplKP ? !shft : shft;
554 newlen = 1; 553 unsigned int newlen = 1;
555#ifdef XK_KP_Home 554#ifdef XK_KP_Home
556 static const KeySym keypadtrans[] = { 555 static const KeySym keypadtrans[] = {
557 XK_KP_7, // XK_KP_Home 556 XK_KP_7, // XK_KP_Home
558 XK_KP_4, // XK_KP_Left 557 XK_KP_4, // XK_KP_Left
559 XK_KP_8, // XK_KP_Up 558 XK_KP_8, // XK_KP_Up

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines