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.156 by root, Mon Jan 2 18:20:23 2006 UTC vs.
Revision 1.161 by root, Wed Jan 4 20:43:38 2006 UTC

487 if (OPTION (Opt_scrollBar)) 487 if (OPTION (Opt_scrollBar))
488 scrollBar.setIdle (); /* set existence for size calculations */ 488 scrollBar.setIdle (); /* set existence for size calculations */
489#endif 489#endif
490 490
491#if ENABLE_PERL 491#if ENABLE_PERL
492 if ((rs[Rs_perl_ext_1] && *rs[Rs_perl_ext_1])
493 || (rs[Rs_perl_ext_2] && *rs[Rs_perl_ext_2])
494 || (rs[Rs_perl_eval] && *rs[Rs_perl_eval]))
495 {
492 rxvt_perl.init (); 496 rxvt_perl.init ();
493#endif
494
495 PERL_INVOKE ((this, HOOK_INIT, DT_END)); 497 PERL_INVOKE ((this, HOOK_INIT, DT_END));
498 }
499#endif
496 500
497 create_windows (argc, argv); 501 create_windows (argc, argv);
498 502
499 dDisp; 503 dDisp;
500 504
921 prop.height += lineSpace; 925 prop.height += lineSpace;
922 fs->set_prop (prop); 926 fs->set_prop (prop);
923 927
924 fwidth = prop.width; 928 fwidth = prop.width;
925 fheight = prop.height; 929 fheight = prop.height;
926 fbase = (*fs)[1]->ascent; 930 fbase = prop.ascent;
927 931
928 for (int style = 1; style < 4; style++) 932 for (int style = 1; style < 4; style++)
929 { 933 {
930#if ENABLE_STYLES 934#if ENABLE_STYLES
931 const char *res = rs[Rs_font + style]; 935 const char *res = rs[Rs_font + style];
1022 i = atoi (color); 1026 i = atoi (color);
1023 1027
1024 if (i >= 8 && i <= 15) 1028 if (i >= 8 && i <= 15)
1025 { /* bright colors */ 1029 { /* bright colors */
1026 i -= 8; 1030 i -= 8;
1027# ifndef NO_BRIGHTCOLOR
1028 pix_colors_focused[idx] = pix_colors_focused[minBrightCOLOR + i]; 1031 pix_colors_focused[idx] = pix_colors_focused[minBrightCOLOR + i];
1029 SET_PIXCOLOR (idx); 1032 SET_PIXCOLOR (idx);
1030 goto done; 1033 goto done;
1031# endif
1032 } 1034 }
1033 1035
1034 if (i >= 0 && i <= 7) 1036 if (i >= 0 && i <= 7)
1035 { /* normal colors */ 1037 { /* normal colors */
1036 pix_colors_focused[idx] = pix_colors_focused[minCOLOR + i]; 1038 pix_colors_focused[idx] = pix_colors_focused[minCOLOR + i];
1220 } 1222 }
1221 1223
1222 if (menubar_visible ()) 1224 if (menubar_visible ())
1223 XMoveResizeWindow (disp, menuBar.win, 1225 XMoveResizeWindow (disp, menuBar.win,
1224 window_vt_x, 0, 1226 window_vt_x, 0,
1225 TermWin_TotalWidth (), menuBar_TotalHeight ()); 1227 width, menuBar_TotalHeight ());
1226 1228
1227 XMoveResizeWindow (disp, vt, 1229 XMoveResizeWindow (disp, vt,
1228 window_vt_x, window_vt_y, 1230 window_vt_x, window_vt_y,
1229 TermWin_TotalWidth (), TermWin_TotalHeight ()); 1231 width, height);
1230 1232
1231 scr_clear (); 1233 scr_clear ();
1232#ifdef XPM_BACKGROUND 1234#ifdef XPM_BACKGROUND
1233 resize_pixmap (); 1235 resize_pixmap ();
1234#endif 1236#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines