From 564946b688ae39d5289aa0fd28be5ea8f0682252 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Sat, 11 Oct 2003 22:32:17 +0000 Subject: [PATCH] (compute_fringe_widths): Doc fix. --- src/xdisp.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 629d210daa8..e85589d56d1 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -9053,7 +9053,22 @@ draw_row_fringe_bitmaps (w, row) } -/* 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) -- 2.39.2