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

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.251 by sasha, Tue Sep 18 22:01:36 2007 UTC vs.
Revision 1.252 by ayin, Mon Oct 8 07:05:23 2007 UTC

942#if ENABLE_EWMH 942#if ENABLE_EWMH
943 set_utf8_property (xa[XA_NET_WM_ICON_NAME], str); 943 set_utf8_property (xa[XA_NET_WM_ICON_NAME], str);
944#endif 944#endif
945} 945}
946 946
947void
948rxvt_term::set_window_color (int idx, const char *color)
949{
947#ifdef XTERM_COLOR_CHANGE 950#ifdef XTERM_COLOR_CHANGE
948void
949rxvt_term::set_window_color (int idx, const char *color)
950{
951 rxvt_color xcol; 951 rxvt_color xcol;
952 int i; 952 int i;
953 953
954 if (color == NULL || *color == '\0') 954 if (color == NULL || *color == '\0')
955 return; 955 return;
992 /*TODO: handle Color_BD, scrollbar background, etc. */ 992 /*TODO: handle Color_BD, scrollbar background, etc. */
993 993
994 update_fade_color (idx); 994 update_fade_color (idx);
995 recolour_cursor (); 995 recolour_cursor ();
996 scr_recolour (); 996 scr_recolour ();
997}
998
999#else
1000# define set_window_color (idx,color) ((void)0)
1001#endif /* XTERM_COLOR_CHANGE */ 997#endif /* XTERM_COLOR_CHANGE */
998}
1002 999
1003void 1000void
1004rxvt_term::recolour_cursor () 1001rxvt_term::recolour_cursor ()
1005{ 1002{
1006 XColor fg, bg; 1003 XColor fg, bg;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines