changeset 41723:721838eb5cf5

(set_frame_size): Use x_compute_fringe_widths. (EmacsFrameSetCharSize): Ditto.
author Kim F. Storm <storm@cua.dk>
date Sat, 01 Dec 2001 01:24:00 +0000
parents fd499c5c75d2
children 6c19f355b26a
files src/widget.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/widget.c	Sat Dec 01 01:23:29 2001 +0000
+++ b/src/widget.c	Sat Dec 01 01:24:00 2001 +0000
@@ -434,8 +434,7 @@
 	 : (FRAME_SCROLL_BAR_COLS (frame)
 	    * FONT_WIDTH (frame->output_data.x->font)));
 
-    frame->output_data.x->fringes_extra
-      = FRAME_FRINGE_WIDTH (frame);
+    x_compute_fringe_widths (frame, 0);
 
     change_frame_size (frame, h, w, 1, 0, 0);
     char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height);
@@ -912,8 +911,7 @@
        ? 0
        : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.x->font)));
 
-  f->output_data.x->fringes_extra
-    = FRAME_FRINGE_WIDTH (f);
+  x_compute_fringe_widths (f, 0);
 
   char_to_pixel_size (ew, columns, rows, &pixel_width, &pixel_height);