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.552 by sf-exg, Fri Jul 25 17:03:38 2014 UTC vs.
Revision 1.556 by sf-exg, Mon Aug 18 07:20:05 2014 UTC

315 XK_KP_7, // XK_KP_Home 315 XK_KP_7, // XK_KP_Home
316 XK_KP_4, // XK_KP_Left 316 XK_KP_4, // XK_KP_Left
317 XK_KP_8, // XK_KP_Up 317 XK_KP_8, // XK_KP_Up
318 XK_KP_6, // XK_KP_Right 318 XK_KP_6, // XK_KP_Right
319 XK_KP_2, // XK_KP_Down 319 XK_KP_2, // XK_KP_Down
320# ifndef UNSHIFTED_SCROLLKEYS
321 XK_KP_9, // XK_KP_Prior 320 XK_KP_9, // XK_KP_Prior
322 XK_KP_3, // XK_KP_Next 321 XK_KP_3, // XK_KP_Next
323# else
324 XK_Prior,
325 XK_Next,
326# endif
327 XK_KP_1, // XK_KP_End 322 XK_KP_1, // XK_KP_End
328 XK_KP_5, // XK_KP_Begin 323 XK_KP_5, // XK_KP_Begin
329 }; 324 };
330 325
331 if (IN_RANGE_INC (keysym, XK_KP_Home, XK_KP_Begin)) 326 if (IN_RANGE_INC (keysym, XK_KP_Home, XK_KP_Begin))
376 param = 3; 371 param = 3;
377 break; 372 break;
378 case XK_Select: 373 case XK_Select:
379 param = 4; 374 param = 4;
380 break; 375 break;
381#ifndef UNSHIFTED_SCROLLKEYS
382 case XK_Prior: 376 case XK_Prior:
383 param = 5; 377 param = 5;
384 break; 378 break;
385 case XK_Next: 379 case XK_Next:
386 param = 6; 380 param = 6;
389 param = 7; 383 param = 7;
390 break; 384 break;
391 case XK_End: 385 case XK_End:
392 param = 8; 386 param = 8;
393 break; 387 break;
394#endif
395 case XK_Help: 388 case XK_Help:
396 param = 28; 389 param = 28;
397 break; 390 break;
398 case XK_Menu: 391 case XK_Menu:
399 param = 29; 392 param = 29;
683 { 676 {
684 char *ch; 677 char *ch;
685 678
686 for (ch = kbuf; ch < kbuf + len; ch++) 679 for (ch = kbuf; ch < kbuf + len; ch++)
687 *ch |= 0x80; 680 *ch |= 0x80;
688
689 meta = 0;
690 } 681 }
691#endif 682#endif
692 /* nil */ ; 683 /* nil */ ;
693 } 684 }
694 685
1920 iso14755_54 (ev.x, ev.y); 1911 iso14755_54 (ev.x, ev.y);
1921 return; 1912 return;
1922 } 1913 }
1923#endif 1914#endif
1924 1915
1925 clickintime = ev.time - MEvent.time < MULTICLICK_TIME; 1916 clickintime = ev.time - MEvent.time < multiClickTime;
1926 1917
1927 if (reportmode) 1918 if (reportmode)
1928 { 1919 {
1929 /* mouse report from vt window */ 1920 /* mouse report from vt window */
1930 /* save the xbutton state (for ButtonRelease) */ 1921 /* save the xbutton state (for ButtonRelease) */
2180#ifdef MOUSE_REPORT_DOUBLECLICK 2171#ifdef MOUSE_REPORT_DOUBLECLICK
2181 /* only report the release of 'slow' single clicks */ 2172 /* only report the release of 'slow' single clicks */
2182 if (MEvent.button != AnyButton 2173 if (MEvent.button != AnyButton
2183 && (ev.button != MEvent.button 2174 && (ev.button != MEvent.button
2184 || (ev.time - MEvent.time 2175 || (ev.time - MEvent.time
2185 > MULTICLICK_TIME / 2))) 2176 > multiClickTime / 2)))
2186 { 2177 {
2187 MEvent.clicks = 0; 2178 MEvent.clicks = 0;
2188 MEvent.button = AnyButton; 2179 MEvent.button = AnyButton;
2189 mouse_report (ev); 2180 mouse_report (ev);
2190 } 2181 }
3101 scr_insert_mode (1); 3092 scr_insert_mode (1);
3102 else if (arg[0] == 20) 3093 else if (arg[0] == 20)
3103 priv_modes |= PrivMode_LFNL; 3094 priv_modes |= PrivMode_LFNL;
3104 break; 3095 break;
3105 3096
3106 case CSI_71: // DESCUSR: set cursor style 3097 case CSI_71: // DECSCUSR: set cursor style
3107 if (prev_ch == ' ') 3098 if (prev_ch == ' ')
3108 set_cursor_style (arg[0]); 3099 set_cursor_style (arg[0]);
3109 break; 3100 break;
3110 3101
3111 /* 3102 /*

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines