ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/screen.C
(Generate patch)

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.322 by root, Tue Nov 4 23:35:50 2008 UTC vs.
Revision 1.323 by root, Tue Nov 4 23:53:29 2008 UTC

1349 ren = (rend_t) ~RS_None; 1349 ren = (rend_t) ~RS_None;
1350 else if (GET_BASEBG (rstyle) == Color_bg) 1350 else if (GET_BASEBG (rstyle) == Color_bg)
1351 { 1351 {
1352 ren = DEFAULT_RSTYLE; 1352 ren = DEFAULT_RSTYLE;
1353 1353
1354 if (mapped) 1354 if (mapped && !view_start)
1355 XClearArea (dpy, vt, 0, 1355 XClearArea (dpy, vt, 0,
1356 Row2Pixel (row - view_start), (unsigned int)width, 1356 Row2Pixel (row - view_start), (unsigned int)width,
1357 (unsigned int)Height2Pixel (num), False); 1357 (unsigned int)Height2Pixel (num), False);
1358 } 1358 }
1359 else 1359 else
1360 { 1360 {
1361 ren = rstyle & (RS_fgMask | RS_bgMask); 1361 ren = rstyle & (RS_fgMask | RS_bgMask);
1362 1362
1363 if (mapped && !view_start)
1364 {
1363 gcvalue.foreground = pix_colors[bgcolor_of (rstyle)]; 1365 gcvalue.foreground = pix_colors[bgcolor_of (rstyle)];
1364 XChangeGC (dpy, gc, GCForeground, &gcvalue); 1366 XChangeGC (dpy, gc, GCForeground, &gcvalue);
1365 XFillRectangle (dpy, vt, gc, 1367 XFillRectangle (dpy, vt, gc,
1366 0, Row2Pixel (row - view_start), 1368 0, Row2Pixel (row - view_start),
1367 (unsigned int)width, 1369 (unsigned int)width,
1368 (unsigned int)Height2Pixel (num)); 1370 (unsigned int)Height2Pixel (num));
1369 gcvalue.foreground = pix_colors[Color_fg]; 1371 gcvalue.foreground = pix_colors[Color_fg];
1370 XChangeGC (dpy, gc, GCForeground, &gcvalue); 1372 XChangeGC (dpy, gc, GCForeground, &gcvalue);
1373 }
1371 } 1374 }
1372 1375
1373 for (; num--; row++) 1376 for (; num--; row++)
1374 { 1377 {
1375 scr_blank_screen_mem (ROW(row), rstyle); 1378 scr_blank_screen_mem (ROW(row), rstyle);
1379 if (!view_start)
1376 scr_blank_line (drawn_buf [row], 0, ncol, ren); 1380 scr_blank_line (drawn_buf [row], 0, ncol, ren);
1377 } 1381 }
1378} 1382}
1379 1383
1380#if !ENABLE_MINIMAL 1384#if !ENABLE_MINIMAL
1381void 1385void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines