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.235 by ayin, Sat Dec 29 12:36:56 2007 UTC vs.
Revision 1.238 by ayin, Fri Jan 4 17:57:28 2008 UTC

297 saveLines = SAVELINES; 297 saveLines = SAVELINES;
298 298
299 refresh_type = SLOW_REFRESH; 299 refresh_type = SLOW_REFRESH;
300 300
301 oldcursor.row = oldcursor.col = -1; 301 oldcursor.row = oldcursor.col = -1;
302 last_bot = last_state = -1;
303 302
304 set_option (Opt_scrollBar); 303 set_option (Opt_scrollBar);
305 set_option (Opt_scrollTtyOutput); 304 set_option (Opt_scrollTtyOutput);
306 set_option (Opt_jumpScroll); 305 set_option (Opt_jumpScroll);
307 set_option (Opt_skipScroll); 306 set_option (Opt_skipScroll);
1076 termwin_ev.start (display, top); 1075 termwin_ev.start (display, top);
1077 1076
1078 /* vt cursor: Black-on-White is standard, but this is more popular */ 1077 /* vt cursor: Black-on-White is standard, but this is more popular */
1079 TermWin_cursor = XCreateFontCursor (dpy, XC_xterm); 1078 TermWin_cursor = XCreateFontCursor (dpy, XC_xterm);
1080 1079
1081#ifdef HAVE_SCROLLBARS
1082 /* cursor scrollBar: Black-on-White */
1083 leftptr_cursor = XCreateFontCursor (dpy, XC_left_ptr);
1084#endif
1085
1086 /* the vt window */ 1080 /* the vt window */
1087 vt = XCreateSimpleWindow (dpy, top, 1081 vt = XCreateSimpleWindow (dpy, top,
1088 window_vt_x, window_vt_y, 1082 window_vt_x, window_vt_y,
1089 width, height, 1083 width, height,
1090 0, 1084 0,
1113 gc = XCreateGC (dpy, vt, 1107 gc = XCreateGC (dpy, vt,
1114 GCForeground | GCBackground | GCGraphicsExposures, 1108 GCForeground | GCBackground | GCGraphicsExposures,
1115 &gcvalue); 1109 &gcvalue);
1116 1110
1117 drawable = new rxvt_drawable (this, vt); 1111 drawable = new rxvt_drawable (this, vt);
1118
1119#ifdef RXVT_SCROLLBAR
1120 gcvalue.foreground = pix_colors[Color_topShadow];
1121 topShadowGC = XCreateGC (dpy, vt, GCForeground, &gcvalue);
1122 gcvalue.foreground = pix_colors[Color_bottomShadow];
1123 botShadowGC = XCreateGC (dpy, vt, GCForeground, &gcvalue);
1124 gcvalue.foreground = pix_colors[ (depth <= 2 ? Color_fg : Color_scroll)];
1125 scrollbarGC = XCreateGC (dpy, vt, GCForeground, &gcvalue);
1126#endif
1127 1112
1128#ifdef OFF_FOCUS_FADING 1113#ifdef OFF_FOCUS_FADING
1129 // initially we are in unfocused state 1114 // initially we are in unfocused state
1130 if (rs[Rs_fade]) 1115 if (rs[Rs_fade])
1131 pix_colors = pix_colors_unfocused; 1116 pix_colors = pix_colors_unfocused;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines