aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/window.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fc1f1af853b..0117b83feb1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12014-09-11 Martin Rudalics <rudalics@gmx.at>
2
3 * window.c (Fresize_mini_window_internal): Set w->total_lines
4 from w->pixel_height (Bug#18422).
5
12014-09-09 Jan Djärv <jan.h.d@swipnet.se> 62014-09-09 Jan Djärv <jan.h.d@swipnet.se>
2 7
3 * nsterm.m (updateFrameSize:, initFrameFromEmacs:) 8 * nsterm.m (updateFrameSize:, initFrameFromEmacs:)
diff --git a/src/window.c b/src/window.c
index 3fefd9ce682..7e50282a39b 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4804,10 +4804,10 @@ DEFUN ("resize-mini-window-internal", Fresize_mini_window_internal, Sresize_mini
4804 block_input (); 4804 block_input ();
4805 window_resize_apply (r, 0); 4805 window_resize_apply (r, 0);
4806 4806
4807 w->total_lines = XFASTINT (w->new_total);
4808 w->top_line = r->top_line + r->total_lines;
4809 w->pixel_height = XFASTINT (w->new_pixel); 4807 w->pixel_height = XFASTINT (w->new_pixel);
4808 w->total_lines = w->pixel_height / FRAME_LINE_HEIGHT (f);
4810 w->pixel_top = r->pixel_top + r->pixel_height; 4809 w->pixel_top = r->pixel_top + r->pixel_height;
4810 w->top_line = r->top_line + r->total_lines;
4811 4811
4812 fset_redisplay (f); 4812 fset_redisplay (f);
4813 FRAME_WINDOW_SIZES_CHANGED (f) = 1; 4813 FRAME_WINDOW_SIZES_CHANGED (f) = 1;