… | |
… | |
1648 | if (rvideo_state != on) |
1648 | if (rvideo_state != on) |
1649 | { |
1649 | { |
1650 | rvideo_state = on; |
1650 | rvideo_state = on; |
1651 | |
1651 | |
1652 | ::swap (pix_colors[Color_fg], pix_colors[Color_bg]); |
1652 | ::swap (pix_colors[Color_fg], pix_colors[Color_bg]); |
1653 | #if XPM_BACKGROUND |
1653 | #ifdef HAVE_BG_PIXMAP |
1654 | if (bgPixmap.pixmap == None) |
1654 | if (bgPixmap.pixmap == None) |
1655 | #endif |
1655 | #endif |
1656 | #if ENABLE_TRANSPARENCY |
1656 | #if ENABLE_TRANSPARENCY |
1657 | if (!option (Opt_transparent) || am_transparent == 0) |
1657 | if (!option (Opt_transparent) || am_transparent == 0) |
1658 | #endif |
1658 | #endif |
… | |
… | |
2005 | * A: set up vars |
2005 | * A: set up vars |
2006 | */ |
2006 | */ |
2007 | have_bg = 0; |
2007 | have_bg = 0; |
2008 | refresh_count = 0; |
2008 | refresh_count = 0; |
2009 | |
2009 | |
2010 | #if XPM_BACKGROUND |
2010 | #ifdef HAVE_BG_PIXMAP |
2011 | have_bg |= bgPixmap.pixmap != None; |
2011 | have_bg |= bgPixmap.pixmap != None; |
2012 | #endif |
2012 | #endif |
2013 | #if ENABLE_TRANSPARENCY |
2013 | #if ENABLE_TRANSPARENCY |
2014 | have_bg |= option (Opt_transparent) && am_transparent; |
2014 | have_bg |= option (Opt_transparent) && am_transparent; |
2015 | #endif |
2015 | #endif |
… | |
… | |
2485 | { |
2485 | { |
2486 | if (1 |
2486 | if (1 |
2487 | #if ENABLE_TRANSPARENCY |
2487 | #if ENABLE_TRANSPARENCY |
2488 | && !am_transparent |
2488 | && !am_transparent |
2489 | #endif |
2489 | #endif |
2490 | #if XPM_BACKGROUND |
2490 | #ifdef HAVE_BG_PIXMAP |
2491 | && !bgPixmap.pixmap |
2491 | && !bgPixmap.pixmap |
2492 | #endif |
2492 | #endif |
2493 | ) |
2493 | ) |
2494 | { |
2494 | { |
2495 | XSetWindowBackground (dpy, parent[0], pix_colors[Color_border]); |
2495 | XSetWindowBackground (dpy, parent[0], pix_colors[Color_border]); |