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.293 by root, Mon Jan 30 04:27:17 2006 UTC vs.
Revision 1.295 by root, Tue Jan 31 00:25:16 2006 UTC

1703rxvt_term::focus_in () 1703rxvt_term::focus_in ()
1704{ 1704{
1705 if (!focus) 1705 if (!focus)
1706 { 1706 {
1707 focus = 1; 1707 focus = 1;
1708 want_refresh = 1;
1709 1708
1710 HOOK_INVOKE ((this, HOOK_FOCUS_OUT, DT_END)); 1709 HOOK_INVOKE ((this, HOOK_FOCUS_OUT, DT_END));
1711 1710
1712#if USE_XIM 1711#if USE_XIM
1713 if (Input_Context != NULL) 1712 if (Input_Context != NULL)
1722#endif 1721#endif
1723#if OFF_FOCUS_FADING 1722#if OFF_FOCUS_FADING
1724 if (rs[Rs_fade]) 1723 if (rs[Rs_fade])
1725 { 1724 {
1726 pix_colors = pix_colors_focused; 1725 pix_colors = pix_colors_focused;
1726 want_refresh = 1;
1727 scr_recolour (); 1727 scr_recolour ();
1728 } 1728 }
1729#endif 1729#endif
1730 } 1730 }
1731} 1731}
1734rxvt_term::focus_out () 1734rxvt_term::focus_out ()
1735{ 1735{
1736 if (focus) 1736 if (focus)
1737 { 1737 {
1738 focus = 0; 1738 focus = 0;
1739 want_refresh = 1;
1740 1739
1741 HOOK_INVOKE ((this, HOOK_FOCUS_OUT, DT_END)); 1740 HOOK_INVOKE ((this, HOOK_FOCUS_OUT, DT_END));
1742 1741
1743#if ENABLE_FRILLS || ISO_14755 1742#if ENABLE_FRILLS || ISO_14755
1744 if (iso14755buf) 1743 if (iso14755buf)
1760#endif 1759#endif
1761#if OFF_FOCUS_FADING 1760#if OFF_FOCUS_FADING
1762 if (rs[Rs_fade]) 1761 if (rs[Rs_fade])
1763 { 1762 {
1764 pix_colors = pix_colors_unfocused; 1763 pix_colors = pix_colors_unfocused;
1764 want_refresh = 1;
1765 scr_recolour (); 1765 scr_recolour ();
1766 } 1766 }
1767#endif 1767#endif
1768 } 1768 }
1769} 1769}
2538 XFreePixmap (xdisp, pixmap); 2538 XFreePixmap (xdisp, pixmap);
2539 2539
2540#if TINTING 2540#if TINTING
2541 if (ISSET_PIXCOLOR (Color_tint)) 2541 if (ISSET_PIXCOLOR (Color_tint))
2542 { 2542 {
2543 int shade = rs[Rs_shade] ? atoi (rs[Rs_shade]) : 100;
2544
2543 rxvt_rgba c; 2545 rxvt_rgba c;
2544 int shade = rs[Rs_shade] ? atoi (rs[Rs_shade]) : 100;
2545
2546 pix_colors_focused[Color_tint].get (this, c); 2546 pix_colors_focused [Color_tint].get (this, c);
2547 2547
2548 ShadeXImage (this, image, shade, c.r, c.g, c.b); 2548 ShadeXImage (this, image, shade, c.r, c.g, c.b);
2549 } 2549 }
2550#endif 2550#endif
2551 2551
3091 scr_charset_set (2, (unsigned int)cmd_getc ()); 3091 scr_charset_set (2, (unsigned int)cmd_getc ());
3092 break; 3092 break;
3093 case '+': 3093 case '+':
3094 scr_charset_set (3, (unsigned int)cmd_getc ()); 3094 scr_charset_set (3, (unsigned int)cmd_getc ());
3095 break; 3095 break;
3096#if ENABLE_FRILLS 3096#if !ENABLE_MINIMAL
3097 case '6': 3097 case '6':
3098 scr_backindex (); 3098 scr_backindex ();
3099 break; 3099 break;
3100#endif 3100#endif
3101 case '7': 3101 case '7':
3102 scr_cursor (SAVE); 3102 scr_cursor (SAVE);
3103 break; 3103 break;
3104 case '8': 3104 case '8':
3105 scr_cursor (RESTORE); 3105 scr_cursor (RESTORE);
3106 break; 3106 break;
3107#if ENABLE_FRILLS 3107#if !ENABLE_MINIMAL
3108 case '9': 3108 case '9':
3109 scr_forwardindex (); 3109 scr_forwardindex ();
3110 break; 3110 break;
3111#endif 3111#endif
3112 case '=': 3112 case '=':
3505 break; 3505 break;
3506 case CSI_75: 3506 case CSI_75:
3507 scr_cursor (RESTORE); 3507 scr_cursor (RESTORE);
3508 break; 3508 break;
3509 3509
3510#if ENABLE_FRILLS 3510#if !ENABLE_MINIMAL
3511 case CSI_74: 3511 case CSI_74:
3512 process_window_ops (arg, nargs); 3512 process_window_ops (arg, nargs);
3513 break; 3513 break;
3514#endif 3514#endif
3515 3515
3522 break; 3522 break;
3523 } 3523 }
3524} 3524}
3525/*}}} */ 3525/*}}} */
3526 3526
3527#if ENABLE_FRILLS 3527#if !ENABLE_MINIMAL
3528/* ARGSUSED */ 3528/* ARGSUSED */
3529void 3529void
3530rxvt_term::process_window_ops (const int *args, unsigned int nargs) 3530rxvt_term::process_window_ops (const int *args, unsigned int nargs)
3531{ 3531{
3532 int x, y; 3532 int x, y;
3944 op, 3944 op,
3945 rs[Rs_name], VERSION[0], VERSION[2], 3945 rs[Rs_name], VERSION[0], VERSION[2],
3946 resp); 3946 resp);
3947 break; 3947 break;
3948 3948
3949#if ENABLE_FRILLS 3949#if !ENABLE_MINIMAL
3950 case URxvt_locale: 3950 case URxvt_locale:
3951 if (query) 3951 if (query)
3952 tt_printf ("\33]%d;%-.250s%c", op, OPTION (Opt_insecure) ? locale : "", resp); 3952 tt_printf ("\33]%d;%-.250s%c", op, OPTION (Opt_insecure) ? locale : "", resp);
3953 else 3953 else
3954 { 3954 {
4318 scr_color (Color_bg, Color_bg); 4318 scr_color (Color_bg, Color_bg);
4319 break; 4319 break;
4320 4320
4321 //case 50: // not variable spacing 4321 //case 50: // not variable spacing
4322 4322
4323#if ENABLE_FRILLS 4323#if !ENABLE_MINIMAL
4324 case 90: 4324 case 90:
4325 case 91: /* set bright fg color */ 4325 case 91: /* set bright fg color */
4326 case 92: 4326 case 92:
4327 case 93: 4327 case 93:
4328 case 94: 4328 case 94:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines