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

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.359 by sf-exg, Fri Jul 29 09:41:22 2011 UTC vs.
Revision 1.360 by sf-exg, Fri Aug 19 16:01:37 2011 UTC

706 if (recalc_y) 706 if (recalc_y)
707 szHint.y += DisplayHeight (dpy, display->screen) - szHint.height - 2 * ext_bwidth; 707 szHint.y += DisplayHeight (dpy, display->screen) - szHint.height - 2 * ext_bwidth;
708 708
709 ncol = width / fwidth; 709 ncol = width / fwidth;
710 nrow = height / fheight; 710 nrow = height / fheight;
711
712 // When the size of the vt window is not a multiple of the cell
713 // size, i.e., when the wm does not honour our size hints, there are
714 // extra areas not covered by the terminal screen. Such gaps, when a
715 // bg pixmap is set, would have to be cleared manually to properly
716 // refresh the background. We take the simpler route and shrink the
717 // vt window so as to avoid creating gaps.
718 width = ncol * fwidth;
719 height = nrow * fheight;
711} 720}
712 721
713/*----------------------------------------------------------------------*/ 722/*----------------------------------------------------------------------*/
714/* 723/*
715 * Tell the teletype handler what size the window is. 724 * Tell the teletype handler what size the window is.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines