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.178 by root, Sat Jan 20 00:51:31 2007 UTC vs.
Revision 1.181 by ayin, Tue May 1 21:10:04 2007 UTC

189 pixmap = None; 189 pixmap = None;
190#endif 190#endif
191 191
192 MEvent.time = CurrentTime; 192 MEvent.time = CurrentTime;
193 MEvent.button = AnyButton; 193 MEvent.button = AnyButton;
194 options = DEFAULT_OPTIONS;
195 want_refresh = 1; 194 want_refresh = 1;
196 priv_modes = SavedModes = PrivMode_Default; 195 priv_modes = SavedModes = PrivMode_Default;
197 ncol = 80; 196 ncol = 80;
198 nrow = 24; 197 nrow = 24;
199 int_bwidth = INTERNALBORDERWIDTH; 198 int_bwidth = INTERNALBORDERWIDTH;
206 refresh_type = SLOW_REFRESH; 205 refresh_type = SLOW_REFRESH;
207 206
208 oldcursor.row = oldcursor.col = -1; 207 oldcursor.row = oldcursor.col = -1;
209#ifdef XPM_BACKGROUND 208#ifdef XPM_BACKGROUND
210 /* bgPixmap.w = bgPixmap.h = 0; */ 209 /* bgPixmap.w = bgPixmap.h = 0; */
211 bgPixmap.x = bgPixmap.y = 50; 210 bgPixmap.x = bgPixmap.y = 0;
212 bgPixmap.pixmap = None; 211 bgPixmap.pixmap = None;
213#endif 212#endif
214 213
215 last_bot = last_state = -1; 214 last_bot = last_state = -1;
215
216 set_option (Opt_scrollBar, 1);
217 set_option (Opt_scrollTtyOutput, 1);
218 set_option (Opt_jumpScroll, 1);
219 set_option (Opt_secondaryScreen, 1);
220 set_option (Opt_secondaryScroll, 1);
221 set_option (Opt_pastableTabs, 1);
222 set_option (Opt_intensityStyles, 1);
216 223
217 return true; 224 return true;
218} 225}
219 226
220void 227void
1277 else 1284 else
1278#endif 1285#endif
1279 er = -1; 1286 er = -1;
1280 1287
1281 rxvt_get_ttymode (&tio, er); 1288 rxvt_get_ttymode (&tio, er);
1289 SET_TERMIOS (pty->tty, &tio); /* init terminal attributes */
1282 pty->set_utf8_mode (enc_utf8); 1290 pty->set_utf8_mode (enc_utf8);
1283 SET_TERMIOS (pty->tty, &tio); /* init terminal attributes */
1284 1291
1285 /* set initial window size */ 1292 /* set initial window size */
1286 tt_winch (); 1293 tt_winch ();
1287 1294
1288#if ENABLE_FRILLS 1295#if ENABLE_FRILLS

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines