… | |
… | |
324 | #ifdef HAVE_AFTERIMAGE |
324 | #ifdef HAVE_AFTERIMAGE |
325 | asv = create_asvisual_for_id (dpy, display->screen, depth, XVisualIDFromVisual (visual), cmap, NULL); |
325 | asv = create_asvisual_for_id (dpy, display->screen, depth, XVisualIDFromVisual (visual), cmap, NULL); |
326 | #endif |
326 | #endif |
327 | free (r_argv); |
327 | free (r_argv); |
328 | |
328 | |
329 | bgPixmap.set_target (this); |
|
|
330 | |
|
|
331 | for (int i = NUM_RESOURCES; i--; ) |
329 | for (int i = NUM_RESOURCES; i--; ) |
332 | if (rs [i] == resval_undef) |
330 | if (rs [i] == resval_undef) |
333 | rs [i] = 0; |
331 | rs [i] = 0; |
334 | |
332 | |
335 | #if ENABLE_PERL |
333 | #if ENABLE_PERL |
… | |
… | |
1042 | |
1040 | |
1043 | vt_select_input (); |
1041 | vt_select_input (); |
1044 | |
1042 | |
1045 | vt_ev.start (display, vt); |
1043 | vt_ev.start (display, vt); |
1046 | |
1044 | |
1047 | #ifdef XPM_BACKGROUND |
|
|
1048 | if (rs[Rs_backgroundPixmap] != NULL) |
|
|
1049 | { |
|
|
1050 | const char *p = rs[Rs_backgroundPixmap]; |
|
|
1051 | |
|
|
1052 | if ((p = strchr (p, ';')) != NULL) |
|
|
1053 | { |
|
|
1054 | p++; |
|
|
1055 | bgPixmap.handle_geometry (p); |
|
|
1056 | } |
|
|
1057 | else |
|
|
1058 | bgPixmap.set_defaultGeometry (); |
|
|
1059 | |
|
|
1060 | set_bgPixmap (rs[Rs_backgroundPixmap]); |
|
|
1061 | scr_touch (true); |
|
|
1062 | } |
|
|
1063 | #endif |
|
|
1064 | |
|
|
1065 | /* graphics context for the vt window */ |
1045 | /* graphics context for the vt window */ |
1066 | gcvalue.foreground = pix_colors[Color_fg]; |
1046 | gcvalue.foreground = pix_colors[Color_fg]; |
1067 | gcvalue.background = pix_colors[Color_bg]; |
1047 | gcvalue.background = pix_colors[Color_bg]; |
1068 | gcvalue.graphics_exposures = 0; |
1048 | gcvalue.graphics_exposures = 0; |
1069 | |
1049 | |