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

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.201 by ayin, Fri Aug 3 23:32:14 2007 UTC vs.
Revision 1.207 by ayin, Mon Aug 27 18:30:59 2007 UTC

211 bgPixmap.h_align = bgPixmap.v_align = 0; 211 bgPixmap.h_align = bgPixmap.v_align = 0;
212#endif 212#endif
213 bgPixmap.flags = 0; 213 bgPixmap.flags = 0;
214 bgPixmap.pixmap = None; 214 bgPixmap.pixmap = None;
215#endif 215#endif
216
217 last_bot = last_state = -1; 216 last_bot = last_state = -1;
218 217
219 set_option (Opt_scrollBar); 218 set_option (Opt_scrollBar);
220 set_option (Opt_scrollTtyOutput); 219 set_option (Opt_scrollTtyOutput);
221 set_option (Opt_jumpScroll); 220 set_option (Opt_jumpScroll);
483/*----------------------------------------------------------------------*/ 482/*----------------------------------------------------------------------*/
484void 483void
485rxvt_term::init_env () 484rxvt_term::init_env ()
486{ 485{
487 int i; 486 int i;
488 unsigned int u;
489 char *val; 487 char *val;
490 488
491#ifdef DISPLAY_IS_IP 489#ifdef DISPLAY_IS_IP
492 /* Fixup display_name for export over pty to any interested terminal 490 /* Fixup display_name for export over pty to any interested terminal
493 * clients via "ESC[7n" (e.g. shells). Note we use the pure IP number 491 * clients via "ESC[7n" (e.g. shells). Note we use the pure IP number
909#if ENABLE_FRILLS 907#if ENABLE_FRILLS
910 if (option (Opt_borderLess)) 908 if (option (Opt_borderLess))
911 { 909 {
912 if (XInternAtom (dpy, "_MOTIF_WM_INFO", True) == None) 910 if (XInternAtom (dpy, "_MOTIF_WM_INFO", True) == None)
913 { 911 {
914 /* print_warning("Window Manager does not support MWM hints. Bypassing window manager control for borderless window.\n");*/ 912 // rxvt_warn("Window Manager does not support MWM hints. Bypassing window manager control for borderless window.\n");
915 attributes.override_redirect = true; 913 attributes.override_redirect = true;
916 mwmhints.flags = 0;
917 } 914 }
918 else 915 else
919 { 916 {
920 mwmhints.flags = MWM_HINTS_DECORATIONS; 917 mwmhints.flags = MWM_HINTS_DECORATIONS;
921 mwmhints.decorations = 0;
922 } 918 }
923 } 919 }
924 else
925 mwmhints.flags = 0;
926#endif 920#endif
927 921
928#if ENABLE_XEMBED 922#if ENABLE_XEMBED
929 if (rs[Rs_embed]) 923 if (rs[Rs_embed])
930 { 924 {
1040 vt_emask |= Button1MotionMask | Button3MotionMask; 1034 vt_emask |= Button1MotionMask | Button3MotionMask;
1041 1035
1042 vt_select_input (); 1036 vt_select_input ();
1043 1037
1044 vt_ev.start (display, vt); 1038 vt_ev.start (display, vt);
1045
1046#ifdef XPM_BACKGROUND
1047 if (rs[Rs_backgroundPixmap] != NULL)
1048 {
1049 const char *p = rs[Rs_backgroundPixmap];
1050
1051 if ((p = strchr (p, ';')) != NULL)
1052 {
1053 p++;
1054 bgPixmap.handle_geometry (p);
1055 }
1056
1057 set_bgPixmap (rs[Rs_backgroundPixmap]);
1058 scr_touch (true);
1059 }
1060#endif
1061 1039
1062 /* graphics context for the vt window */ 1040 /* graphics context for the vt window */
1063 gcvalue.foreground = pix_colors[Color_fg]; 1041 gcvalue.foreground = pix_colors[Color_fg];
1064 gcvalue.background = pix_colors[Color_bg]; 1042 gcvalue.background = pix_colors[Color_bg];
1065 gcvalue.graphics_exposures = 0; 1043 gcvalue.graphics_exposures = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines