… | |
… | |
860 | void |
860 | void |
861 | rxvt_term::set_title (const char *str) |
861 | rxvt_term::set_title (const char *str) |
862 | { |
862 | { |
863 | set_string_property (XA_WM_NAME, str); |
863 | set_string_property (XA_WM_NAME, str); |
864 | #if ENABLE_FRILLS |
864 | #if ENABLE_FRILLS |
865 | set_utf8_property (display->atom ("_NET_WM_NAME"), str); |
865 | set_utf8_property (xa[XA_NET_WM_NAME], str); |
866 | #endif |
866 | #endif |
867 | } |
867 | } |
868 | |
868 | |
869 | void |
869 | void |
870 | rxvt_term::set_icon_name (const char *str) |
870 | rxvt_term::set_icon_name (const char *str) |
871 | { |
871 | { |
872 | set_string_property (XA_WM_ICON_NAME, str); |
872 | set_string_property (XA_WM_ICON_NAME, str); |
873 | #if ENABLE_FRILLS |
873 | #if ENABLE_FRILLS |
874 | set_utf8_property (display->atom ("_NET_WM_ICON_NAME"), str); |
874 | set_utf8_property (xa[XA_NET_WM_ICON_NAME], str); |
875 | #endif |
875 | #endif |
876 | } |
876 | } |
877 | |
877 | |
878 | #ifdef XTERM_COLOR_CHANGE |
878 | #ifdef XTERM_COLOR_CHANGE |
879 | void |
879 | void |
… | |
… | |
998 | |
998 | |
999 | sprintf (env_colorfgbg, "COLORFGBG=%s;%s%s", fstr, xpmb, bstr); |
999 | sprintf (env_colorfgbg, "COLORFGBG=%s;%s%s", fstr, xpmb, bstr); |
1000 | } |
1000 | } |
1001 | |
1001 | |
1002 | /*----------------------------------------------------------------------*/ |
1002 | /*----------------------------------------------------------------------*/ |
1003 | /* |
|
|
1004 | * Colour determination for low colour displays, routine from |
|
|
1005 | * Hans de Goede <hans@highrise.nl> |
|
|
1006 | */ |
|
|
1007 | |
1003 | |
1008 | int |
1004 | int |
1009 | rxvt_term::rXParseAllocColor (rxvt_color *screen_in_out, const char *colour) |
1005 | rxvt_term::rXParseAllocColor (rxvt_color *screen_in_out, const char *colour) |
1010 | { |
1006 | { |
1011 | if (!screen_in_out->set (display, colour)) |
1007 | if (!screen_in_out->set (display, colour)) |