… | |
… | |
80 | vt_ev (this, &rxvt_term::x_cb), |
80 | vt_ev (this, &rxvt_term::x_cb), |
81 | #ifdef HAVE_SCROLLBARS |
81 | #ifdef HAVE_SCROLLBARS |
82 | scrollbar_ev (this, &rxvt_term::x_cb), |
82 | scrollbar_ev (this, &rxvt_term::x_cb), |
83 | #endif |
83 | #endif |
84 | #ifdef MENUBAR |
84 | #ifdef MENUBAR |
85 | menubar_ev (this, &rxvt_term::x_cb), fixme |
85 | menubar_ev (this, &rxvt_term::x_cb), |
86 | #endif |
86 | #endif |
87 | #ifdef CURSOR_BLINK |
87 | #ifdef CURSOR_BLINK |
88 | cursor_blink_ev (this, &rxvt_term::cursor_blink_cb), |
88 | cursor_blink_ev (this, &rxvt_term::cursor_blink_cb), |
89 | #endif |
89 | #endif |
90 | #ifdef TEXT_BLINK |
90 | #ifdef TEXT_BLINK |
… | |
… | |
272 | #ifdef HAVE_SCROLLBARS |
272 | #ifdef HAVE_SCROLLBARS |
273 | if (Options & Opt_scrollBar) |
273 | if (Options & Opt_scrollBar) |
274 | resize_scrollbar (); /* create and map scrollbar */ |
274 | resize_scrollbar (); /* create and map scrollbar */ |
275 | #endif |
275 | #endif |
276 | #if (MENUBAR_MAX) |
276 | #if (MENUBAR_MAX) |
277 | if (menubar_visible (r)) |
277 | if (menubar_visible ()) |
278 | XMapWindow (display->display, menuBar.win); |
278 | XMapWindow (display->display, menuBar.win); |
279 | #endif |
279 | #endif |
280 | #ifdef TRANSPARENT |
280 | #ifdef TRANSPARENT |
281 | if (Options & Opt_transparent) |
281 | if (Options & Opt_transparent) |
282 | { |
282 | { |
… | |
… | |
740 | TermWin.fheight = fs->base_font ()->height; |
740 | TermWin.fheight = fs->base_font ()->height; |
741 | TermWin.fbase = fs->base_font ()->ascent; |
741 | TermWin.fbase = fs->base_font ()->ascent; |
742 | |
742 | |
743 | // TODO: screen needs to be told about new fonts |
743 | // TODO: screen needs to be told about new fonts |
744 | |
744 | |
|
|
745 | if (TermWin.parent[0]) |
|
|
746 | { |
|
|
747 | resize_all_windows (0, 0, 0); |
|
|
748 | scr_remap_chars (); |
|
|
749 | scr_touch (true); |
|
|
750 | } |
|
|
751 | |
745 | return true; |
752 | return true; |
746 | } |
753 | } |
747 | } |
754 | } |
748 | |
755 | |
749 | return false; |
756 | return false; |