… | |
… | |
1992 | return; |
1992 | return; |
1993 | |
1993 | |
1994 | /* |
1994 | /* |
1995 | * A: set up vars |
1995 | * A: set up vars |
1996 | */ |
1996 | */ |
|
|
1997 | refresh_count = 0; |
|
|
1998 | |
1997 | have_bg = 0; |
1999 | have_bg = 0; |
1998 | refresh_count = 0; |
|
|
1999 | |
|
|
2000 | #ifdef HAVE_BG_PIXMAP |
2000 | #ifdef HAVE_BG_PIXMAP |
2001 | have_bg |= bgPixmap.pixmap != None; |
2001 | have_bg = bgPixmap.pixmap != None; |
2002 | #endif |
2002 | #endif |
2003 | ocrow = oldcursor.row; /* is there an old outline cursor on screen? */ |
2003 | ocrow = oldcursor.row; /* is there an old outline cursor on screen? */ |
2004 | |
2004 | |
2005 | /* |
2005 | /* |
2006 | * B: reverse any characters which are selected |
2006 | * B: reverse any characters which are selected |
… | |
… | |
2474 | |
2474 | |
2475 | XSetWindowBackground (dpy, parent[0], pix_colors[Color_border]); |
2475 | XSetWindowBackground (dpy, parent[0], pix_colors[Color_border]); |
2476 | XClearWindow (dpy, parent[0]); |
2476 | XClearWindow (dpy, parent[0]); |
2477 | XSetWindowBackground (dpy, vt, pix_colors[Color_bg]); |
2477 | XSetWindowBackground (dpy, vt, pix_colors[Color_bg]); |
2478 | |
2478 | |
2479 | # if HAVE_SCROLLBARS |
|
|
2480 | if (scrollBar.win) |
2479 | if (scrollBar.win) |
2481 | { |
2480 | { |
2482 | XSetWindowBackground (dpy, scrollBar.win, pix_colors[Color_border]); |
2481 | XSetWindowBackground (dpy, scrollBar.win, pix_colors[Color_border]); |
2483 | scrollBar.setIdle (); |
2482 | scrollBar.state = STATE_IDLE; |
2484 | scrollbar_show (0); |
2483 | scrollBar.show (0); |
2485 | } |
2484 | } |
|
|
2485 | |
2486 | # endif |
2486 | #endif |
2487 | |
2487 | |
|
|
2488 | /* bgPixmap.apply () does not do the following : */ |
2488 | scr_clear (); |
2489 | scr_clear (); |
2489 | scr_touch (true); |
2490 | scr_touch (true); |
2490 | want_refresh = 1; |
2491 | want_refresh = 1; |
2491 | |
|
|
2492 | #endif |
|
|
2493 | } |
2492 | } |
2494 | |
2493 | |
2495 | /* ------------------------------------------------------------------------- */ |
2494 | /* ------------------------------------------------------------------------- */ |
2496 | void |
2495 | void |
2497 | rxvt_term::scr_clear (bool really) NOTHROW |
2496 | rxvt_term::scr_clear (bool really) NOTHROW |