… | |
… | |
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]; |
… | |
… | |
1220 | } |
1224 | } |
1221 | |
1225 | |
1222 | if (menubar_visible ()) |
1226 | if (menubar_visible ()) |
1223 | XMoveResizeWindow (disp, menuBar.win, |
1227 | XMoveResizeWindow (disp, menuBar.win, |
1224 | window_vt_x, 0, |
1228 | window_vt_x, 0, |
1225 | TermWin_TotalWidth (), menuBar_TotalHeight ()); |
1229 | width, menuBar_TotalHeight ()); |
1226 | |
1230 | |
1227 | XMoveResizeWindow (disp, vt, |
1231 | XMoveResizeWindow (disp, vt, |
1228 | window_vt_x, window_vt_y, |
1232 | window_vt_x, window_vt_y, |
1229 | TermWin_TotalWidth (), TermWin_TotalHeight ()); |
1233 | width, height); |
1230 | |
1234 | |
1231 | scr_clear (); |
1235 | scr_clear (); |
1232 | #ifdef XPM_BACKGROUND |
1236 | #ifdef XPM_BACKGROUND |
1233 | resize_pixmap (); |
1237 | resize_pixmap (); |
1234 | #endif |
1238 | #endif |