… | |
… | |
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 TRANSPARENT |
1656 | #if ENABLE_TRANSPARENCY |
1657 | if (!option (Opt_transparent) || am_transparent == 0) |
1657 | if (!option (Opt_transparent) || am_transparent == 0) |
1658 | #endif |
1658 | #endif |
1659 | XSetWindowBackground (dpy, vt, pix_colors[Color_bg]); |
1659 | XSetWindowBackground (dpy, vt, pix_colors[Color_bg]); |
1660 | |
1660 | |
1661 | XGCValues gcvalue; |
1661 | XGCValues gcvalue; |
… | |
… | |
1890 | # ifdef MAPALERT_OPTION |
1890 | # ifdef MAPALERT_OPTION |
1891 | if (option (Opt_mapAlert)) |
1891 | if (option (Opt_mapAlert)) |
1892 | # endif |
1892 | # endif |
1893 | XMapWindow (dpy, parent[0]); |
1893 | XMapWindow (dpy, parent[0]); |
1894 | # endif |
1894 | # endif |
|
|
1895 | # if ENABLE_FRILLS |
|
|
1896 | if (option (Opt_urgentOnBell)) |
|
|
1897 | { |
|
|
1898 | XWMHints *h; |
|
|
1899 | |
|
|
1900 | h = XGetWMHints(dpy, parent[0]); |
|
|
1901 | if (h != NULL) |
|
|
1902 | { |
|
|
1903 | h->flags |= XUrgencyHint; |
|
|
1904 | XSetWMHints(dpy, parent[0], h); |
|
|
1905 | } |
|
|
1906 | } |
|
|
1907 | # endif |
1895 | |
1908 | |
1896 | if (option (Opt_visualBell)) |
1909 | if (option (Opt_visualBell)) |
1897 | { |
1910 | { |
1898 | rvideo_bell = true; |
1911 | rvideo_bell = true; |
1899 | scr_rvideo_mode (rvideo_mode); |
1912 | scr_rvideo_mode (rvideo_mode); |
… | |
… | |
1992 | * A: set up vars |
2005 | * A: set up vars |
1993 | */ |
2006 | */ |
1994 | have_bg = 0; |
2007 | have_bg = 0; |
1995 | refresh_count = 0; |
2008 | refresh_count = 0; |
1996 | |
2009 | |
1997 | #if XPM_BACKGROUND |
2010 | #ifdef HAVE_BG_PIXMAP |
1998 | have_bg |= bgPixmap.pixmap != None; |
2011 | have_bg |= bgPixmap.pixmap != None; |
1999 | #endif |
2012 | #endif |
2000 | #if TRANSPARENT |
2013 | #if ENABLE_TRANSPARENCY |
2001 | have_bg |= option (Opt_transparent) && am_transparent; |
2014 | have_bg |= option (Opt_transparent) && am_transparent; |
2002 | #endif |
2015 | #endif |
2003 | ocrow = oldcursor.row; /* is there an old outline cursor on screen? */ |
2016 | ocrow = oldcursor.row; /* is there an old outline cursor on screen? */ |
2004 | |
2017 | |
2005 | /* |
2018 | /* |
… | |
… | |
2469 | |
2482 | |
2470 | void |
2483 | void |
2471 | rxvt_term::scr_recolour () NOTHROW |
2484 | rxvt_term::scr_recolour () NOTHROW |
2472 | { |
2485 | { |
2473 | if (1 |
2486 | if (1 |
2474 | #if TRANSPARENT |
2487 | #if ENABLE_TRANSPARENCY |
2475 | && !am_transparent |
2488 | && !am_transparent |
2476 | #endif |
2489 | #endif |
2477 | #if XPM_BACKGROUND |
2490 | #ifdef HAVE_BG_PIXMAP |
2478 | && !bgPixmap.pixmap |
2491 | && !bgPixmap.pixmap |
2479 | #endif |
2492 | #endif |
2480 | ) |
2493 | ) |
2481 | { |
2494 | { |
2482 | XSetWindowBackground (dpy, parent[0], pix_colors[Color_border]); |
2495 | XSetWindowBackground (dpy, parent[0], pix_colors[Color_border]); |