… | |
… | |
1367 | { |
1367 | { |
1368 | ren = DEFAULT_RSTYLE; |
1368 | ren = DEFAULT_RSTYLE; |
1369 | |
1369 | |
1370 | if (mapped) |
1370 | if (mapped) |
1371 | XClearArea (dpy, vt, 0, |
1371 | XClearArea (dpy, vt, 0, |
1372 | Row2Pixel (row - view_start), (unsigned int)width, |
1372 | Row2Pixel (row - view_start), (unsigned int)vt_width, |
1373 | (unsigned int)Height2Pixel (num), False); |
1373 | (unsigned int)Height2Pixel (num), False); |
1374 | } |
1374 | } |
1375 | else |
1375 | else |
1376 | { |
1376 | { |
1377 | ren = rstyle & (RS_fgMask | RS_bgMask); |
1377 | ren = rstyle & (RS_fgMask | RS_bgMask); |
… | |
… | |
1380 | { |
1380 | { |
1381 | gcvalue.foreground = pix_colors[bgcolor_of (rstyle)]; |
1381 | gcvalue.foreground = pix_colors[bgcolor_of (rstyle)]; |
1382 | XChangeGC (dpy, gc, GCForeground, &gcvalue); |
1382 | XChangeGC (dpy, gc, GCForeground, &gcvalue); |
1383 | XFillRectangle (dpy, vt, gc, |
1383 | XFillRectangle (dpy, vt, gc, |
1384 | 0, Row2Pixel (row - view_start), |
1384 | 0, Row2Pixel (row - view_start), |
1385 | (unsigned int)width, |
1385 | (unsigned int)vt_width, |
1386 | (unsigned int)Height2Pixel (num)); |
1386 | (unsigned int)Height2Pixel (num)); |
1387 | gcvalue.foreground = pix_colors[Color_fg]; |
1387 | gcvalue.foreground = pix_colors[Color_fg]; |
1388 | XChangeGC (dpy, gc, GCForeground, &gcvalue); |
1388 | XChangeGC (dpy, gc, GCForeground, &gcvalue); |
1389 | } |
1389 | } |
1390 | } |
1390 | } |
… | |
… | |
1876 | * Refresh the entire screen |
1876 | * Refresh the entire screen |
1877 | */ |
1877 | */ |
1878 | void |
1878 | void |
1879 | rxvt_term::scr_touch (bool refresh) NOTHROW |
1879 | rxvt_term::scr_touch (bool refresh) NOTHROW |
1880 | { |
1880 | { |
1881 | scr_expose (0, 0, width, height, refresh); |
1881 | scr_expose (0, 0, vt_width, vt_height, refresh); |
1882 | } |
1882 | } |
1883 | |
1883 | |
1884 | /* ------------------------------------------------------------------------- */ |
1884 | /* ------------------------------------------------------------------------- */ |
1885 | /* |
1885 | /* |
1886 | * Move the display so that the line represented by scrollbar value Y is at |
1886 | * Move the display so that the line represented by scrollbar value Y is at |