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.118 by root, Thu Dec 9 06:20:41 2004 UTC vs.
Revision 1.123 by root, Mon Dec 20 16:44:31 2004 UTC

32 32
33#include "../config.h" /* NECESSARY */ 33#include "../config.h" /* NECESSARY */
34#include "rxvt.h" /* NECESSARY */ 34#include "rxvt.h" /* NECESSARY */
35#include "main.intpro" /* PROTOS for internal routines */ 35#include "main.intpro" /* PROTOS for internal routines */
36 36
37#include <signal.h> 37#include <csignal>
38 38
39#ifdef TTY_GID_SUPPORT 39#ifdef TTY_GID_SUPPORT
40# include <grp.h> 40# include <grp.h>
41#endif 41#endif
42 42
259 free (env_windowid); 259 free (env_windowid);
260 free (env_display); 260 free (env_display);
261 free (env_term); 261 free (env_term);
262 free (env_colorfgbg); 262 free (env_colorfgbg);
263 free (locale); 263 free (locale);
264#if 0 264 free (v_buffer);
265 free (codeset); 265 free (incr_buf);
266#endif
267 266
268 delete envv; 267 delete envv;
269 delete argv; 268 delete argv;
270} 269}
271 270
861void 860void
862rxvt_term::set_title (const char *str) 861rxvt_term::set_title (const char *str)
863{ 862{
864 set_string_property (XA_WM_NAME, str); 863 set_string_property (XA_WM_NAME, str);
865#if ENABLE_FRILLS 864#if ENABLE_FRILLS
866 set_utf8_property (display->atom ("_NET_WM_NAME"), str); 865 set_utf8_property (xa[XA_NET_WM_NAME], str);
867#endif 866#endif
868} 867}
869 868
870void 869void
871rxvt_term::set_icon_name (const char *str) 870rxvt_term::set_icon_name (const char *str)
872{ 871{
873 set_string_property (XA_WM_ICON_NAME, str); 872 set_string_property (XA_WM_ICON_NAME, str);
874#if ENABLE_FRILLS 873#if ENABLE_FRILLS
875 set_utf8_property (display->atom ("_NET_WM_ICON_NAME"), str); 874 set_utf8_property (xa[XA_NET_WM_ICON_NAME], str);
876#endif 875#endif
877} 876}
878 877
879#ifdef XTERM_COLOR_CHANGE 878#ifdef XTERM_COLOR_CHANGE
880void 879void
999 998
1000 sprintf (env_colorfgbg, "COLORFGBG=%s;%s%s", fstr, xpmb, bstr); 999 sprintf (env_colorfgbg, "COLORFGBG=%s;%s%s", fstr, xpmb, bstr);
1001} 1000}
1002 1001
1003/*----------------------------------------------------------------------*/ 1002/*----------------------------------------------------------------------*/
1004/*
1005 * Colour determination for low colour displays, routine from
1006 * Hans de Goede <hans@highrise.nl>
1007 */
1008 1003
1009int 1004int
1010rxvt_term::rXParseAllocColor (rxvt_color *screen_in_out, const char *colour) 1005rxvt_term::rXParseAllocColor (rxvt_color *screen_in_out, const char *colour)
1011{ 1006{
1012 if (!screen_in_out->set (display, colour)) 1007 if (!screen_in_out->set (display, colour))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines