… | |
… | |
211 | bgPixmap.h_align = bgPixmap.v_align = 0; |
211 | bgPixmap.h_align = bgPixmap.v_align = 0; |
212 | #endif |
212 | #endif |
213 | bgPixmap.flags = 0; |
213 | bgPixmap.flags = 0; |
214 | bgPixmap.pixmap = None; |
214 | bgPixmap.pixmap = None; |
215 | #endif |
215 | #endif |
216 | |
|
|
217 | last_bot = last_state = -1; |
216 | last_bot = last_state = -1; |
218 | |
217 | |
219 | set_option (Opt_scrollBar); |
218 | set_option (Opt_scrollBar); |
220 | set_option (Opt_scrollTtyOutput); |
219 | set_option (Opt_scrollTtyOutput); |
221 | set_option (Opt_jumpScroll); |
220 | set_option (Opt_jumpScroll); |
… | |
… | |
1041 | |
1040 | |
1042 | vt_select_input (); |
1041 | vt_select_input (); |
1043 | |
1042 | |
1044 | vt_ev.start (display, vt); |
1043 | vt_ev.start (display, vt); |
1045 | |
1044 | |
1046 | #ifdef XPM_BACKGROUND |
|
|
1047 | if (rs[Rs_backgroundPixmap] != NULL) |
|
|
1048 | { |
|
|
1049 | const char *p = rs[Rs_backgroundPixmap]; |
|
|
1050 | |
|
|
1051 | if ((p = strchr (p, ';')) != NULL) |
|
|
1052 | { |
|
|
1053 | p++; |
|
|
1054 | bgPixmap.handle_geometry (p); |
|
|
1055 | } |
|
|
1056 | else |
|
|
1057 | bgPixmap.set_defaultGeometry (); |
|
|
1058 | |
|
|
1059 | set_bgPixmap (rs[Rs_backgroundPixmap]); |
|
|
1060 | scr_touch (true); |
|
|
1061 | } |
|
|
1062 | #endif |
|
|
1063 | |
|
|
1064 | /* graphics context for the vt window */ |
1045 | /* graphics context for the vt window */ |
1065 | gcvalue.foreground = pix_colors[Color_fg]; |
1046 | gcvalue.foreground = pix_colors[Color_fg]; |
1066 | gcvalue.background = pix_colors[Color_bg]; |
1047 | gcvalue.background = pix_colors[Color_bg]; |
1067 | gcvalue.graphics_exposures = 0; |
1048 | gcvalue.graphics_exposures = 0; |
1068 | |
1049 | |