diff options
Diffstat (limited to 'src/widget.c')
| -rw-r--r-- | src/widget.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/widget.c b/src/widget.c index 15dd25f8221..ab4c4f869b5 100644 --- a/src/widget.c +++ b/src/widget.c | |||
| @@ -434,8 +434,7 @@ set_frame_size (ew) | |||
| 434 | : (FRAME_SCROLL_BAR_COLS (frame) | 434 | : (FRAME_SCROLL_BAR_COLS (frame) |
| 435 | * FONT_WIDTH (frame->output_data.x->font))); | 435 | * FONT_WIDTH (frame->output_data.x->font))); |
| 436 | 436 | ||
| 437 | frame->output_data.x->fringes_extra | 437 | x_compute_fringe_widths (frame, 0); |
| 438 | = FRAME_FRINGE_WIDTH (frame); | ||
| 439 | 438 | ||
| 440 | change_frame_size (frame, h, w, 1, 0, 0); | 439 | change_frame_size (frame, h, w, 1, 0, 0); |
| 441 | char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height); | 440 | char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height); |
| @@ -912,8 +911,7 @@ EmacsFrameSetCharSize (widget, columns, rows) | |||
| 912 | ? 0 | 911 | ? 0 |
| 913 | : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.x->font))); | 912 | : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.x->font))); |
| 914 | 913 | ||
| 915 | f->output_data.x->fringes_extra | 914 | x_compute_fringe_widths (f, 0); |
| 916 | = FRAME_FRINGE_WIDTH (f); | ||
| 917 | 915 | ||
| 918 | char_to_pixel_size (ew, columns, rows, &pixel_width, &pixel_height); | 916 | char_to_pixel_size (ew, columns, rows, &pixel_width, &pixel_height); |
| 919 | 917 | ||