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.405 by ayin, Thu Feb 14 23:51:46 2008 UTC vs.
Revision 1.407 by ayin, Fri Feb 15 10:56:29 2008 UTC

279 } 279 }
280 280
281 iso14755buf = 0; 281 iso14755buf = 0;
282} 282}
283 283
284int 284static int
285rxvt_term::hex_keyval (XKeyEvent &ev) 285hex_keyval (XKeyEvent &ev)
286{ 286{
287 // check wether this event corresponds to a hex digit 287 // check wether this event corresponds to a hex digit
288 // if the modifiers had not been pressed. 288 // if the modifiers had not been pressed.
289 for (int index = 0; index < 8; index++) 289 for (int index = 0; index < 8; index++)
290 { 290 {
546 } 546 }
547#endif 547#endif
548 548
549 if (keysym >= 0xFF00 && keysym <= 0xFFFF) 549 if (keysym >= 0xFF00 && keysym <= 0xFFFF)
550 { 550 {
551 {
552 bool kp = priv_modes & PrivMode_aplKP ? !shft : shft; 551 bool kp = priv_modes & PrivMode_aplKP ? !shft : shft;
553 unsigned int newlen = 1; 552 unsigned int newlen = 1;
554#ifdef XK_KP_Home 553#ifdef XK_KP_Home
555 static const KeySym keypadtrans[] = { 554 static const KeySym keypadtrans[] = {
556 XK_KP_7, // XK_KP_Home 555 XK_KP_7, // XK_KP_Home
788 break; 787 break;
789 } 788 }
790 789
791 if (newlen) 790 if (newlen)
792 len = strlen (kbuf); 791 len = strlen (kbuf);
793 }
794 792
795 /* 793 /*
796 * Pass meta for all function keys, if 'meta' option set 794 * Pass meta for all function keys, if 'meta' option set
797 */ 795 */
798#ifdef META8_OPTION 796#ifdef META8_OPTION

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines