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.445 by sf-exg, Fri Apr 2 13:52:30 2010 UTC vs.
Revision 1.447 by sf-exg, Sat Apr 3 16:30:39 2010 UTC

649 bool kp = priv_modes & PrivMode_aplKP ? !shft : shft; 649 bool kp = priv_modes & PrivMode_aplKP ? !shft : shft;
650 unsigned int newlen = 1; 650 unsigned int newlen = 1;
651 651
652 if (ev.state & ModNumLockMask) 652 if (ev.state & ModNumLockMask)
653 kp = false; 653 kp = false;
654
654 switch (translate_keypad (keysym, kp)) 655 keysym = translate_keypad (keysym, kp);
656
657 switch (keysym)
655 { 658 {
656#ifndef NO_BACKSPACE_KEY 659#ifndef NO_BACKSPACE_KEY
657 case XK_BackSpace: 660 case XK_BackSpace:
658 if (priv_modes & PrivMode_HaveBackSpace) 661 if (priv_modes & PrivMode_HaveBackSpace)
659 { 662 {
2147 selection_make (ev.time); 2150 selection_make (ev.time);
2148 break; 2151 break;
2149 2152
2150 case Button2: 2153 case Button2:
2151 if (IN_RANGE_EXC (ev.x, 0, width) && IN_RANGE_EXC (ev.y, 0, height)) // inside window? 2154 if (IN_RANGE_EXC (ev.x, 0, width) && IN_RANGE_EXC (ev.y, 0, height)) // inside window?
2152 selection_request (ev.time, ev.state & ModMetaMask ? Sel_Clipboard : Sel_Primary); 2155 selection_request (ev.time, ev.state & ModMetaMask ? Sel_Clipboard : Sel_Primary);
2153 break; 2156 break;
2154 2157
2155#ifdef MOUSE_WHEEL 2158#ifdef MOUSE_WHEEL
2156 case Button4: 2159 case Button4:
2157 case Button5: 2160 case Button5:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines