… | |
… | |
1706 | if (rvideo_state != on) |
1706 | if (rvideo_state != on) |
1707 | { |
1707 | { |
1708 | rvideo_state = on; |
1708 | rvideo_state = on; |
1709 | |
1709 | |
1710 | ::swap (pix_colors[Color_fg], pix_colors[Color_bg]); |
1710 | ::swap (pix_colors[Color_fg], pix_colors[Color_bg]); |
1711 | #ifdef HAVE_BG_PIXMAP |
1711 | #ifdef HAVE_IMG |
1712 | if (bg_img == 0) |
1712 | if (bg_img == 0) |
1713 | #endif |
1713 | #endif |
1714 | XSetWindowBackground (dpy, vt, pix_colors[Color_bg]); |
1714 | XSetWindowBackground (dpy, vt, pix_colors[Color_bg]); |
1715 | |
1715 | |
1716 | XGCValues gcvalue; |
1716 | XGCValues gcvalue; |
… | |
… | |
2051 | */ |
2051 | */ |
2052 | refresh_count = 0; |
2052 | refresh_count = 0; |
2053 | |
2053 | |
2054 | unsigned int old_screen_flags = screen.flags; |
2054 | unsigned int old_screen_flags = screen.flags; |
2055 | bool have_bg = 0; |
2055 | bool have_bg = 0; |
2056 | #ifdef HAVE_BG_PIXMAP |
2056 | #ifdef HAVE_IMG |
2057 | have_bg = bg_img != 0; |
2057 | have_bg = bg_img != 0; |
2058 | #endif |
2058 | #endif |
2059 | ocrow = oldcursor.row; /* is there an old outline cursor on screen? */ |
2059 | ocrow = oldcursor.row; /* is there an old outline cursor on screen? */ |
2060 | |
2060 | |
2061 | /* |
2061 | /* |
… | |
… | |
2532 | void ecb_cold |
2532 | void ecb_cold |
2533 | rxvt_term::scr_recolour (bool refresh) NOTHROW |
2533 | rxvt_term::scr_recolour (bool refresh) NOTHROW |
2534 | { |
2534 | { |
2535 | bool transparent = false; |
2535 | bool transparent = false; |
2536 | |
2536 | |
2537 | #ifdef HAVE_BG_PIXMAP |
2537 | #ifdef HAVE_IMG |
2538 | if (bg_img != 0) |
2538 | if (bg_img != 0) |
2539 | { |
2539 | { |
2540 | # if ENABLE_TRANSPARENCY |
2540 | # if ENABLE_TRANSPARENCY |
2541 | if (bg_flags & BG_IS_TRANSPARENT) |
2541 | if (bg_flags & BG_IS_TRANSPARENT) |
2542 | { |
2542 | { |