# HG changeset patch # User Kim F. Storm # Date 1065911537 0 # Node ID a15080fc1b51289d17d37ccabf287312c354c673 # Parent 06f3fef51f45b72adae7bc324f1e9f7c9ec54653 (compute_fringe_widths): Doc fix. diff -r 06f3fef51f45 -r a15080fc1b51 src/xdisp.c --- a/src/xdisp.c Sat Oct 11 22:31:42 2003 +0000 +++ b/src/xdisp.c Sat Oct 11 22:32:17 2003 +0000 @@ -9053,7 +9053,22 @@ } -/* Compute actual fringe widths */ +/* Compute actual fringe widths for frame F. + + If REDRAW is 1, redraw F if the fringe settings was actually + modified and F is visible. + + Since the combined left and right fringe must occupy an integral + number of columns, we may need to add some pixels to each fringe. + Typically, we add an equal amount (+/- 1 pixel) to each fringe, + but a negative width value is taken literally (after negating it). + + We never make the fringes narrower than specified. It is planned + to make fringe bitmaps customizable and expandable, and at that + time, the user will typically specify the minimum number of pixels + needed for his bitmaps, so we shouldn't select anything less than + what is specified. +*/ void compute_fringe_widths (f, redraw)