In Fresize_mini_window_internal set w->total_lines from w->pixel_height (Bug#18422).
* window.c (Fresize_mini_window_internal): Set w->total_lines from w->pixel_height (Bug#18422).
This commit is contained in:
parent
2776a6502b
commit
6e49a66ad2
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-09-11 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* window.c (Fresize_mini_window_internal): Set w->total_lines
|
||||
from w->pixel_height (Bug#18422).
|
||||
|
||||
2014-09-09 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* nsterm.m (updateFrameSize:, initFrameFromEmacs:)
|
||||
|
|
|
@ -4804,10 +4804,10 @@ DEFUN ("resize-mini-window-internal", Fresize_mini_window_internal, Sresize_mini
|
|||
block_input ();
|
||||
window_resize_apply (r, 0);
|
||||
|
||||
w->total_lines = XFASTINT (w->new_total);
|
||||
w->top_line = r->top_line + r->total_lines;
|
||||
w->pixel_height = XFASTINT (w->new_pixel);
|
||||
w->total_lines = w->pixel_height / FRAME_LINE_HEIGHT (f);
|
||||
w->pixel_top = r->pixel_top + r->pixel_height;
|
||||
w->top_line = r->top_line + r->total_lines;
|
||||
|
||||
fset_redisplay (f);
|
||||
FRAME_WINDOW_SIZES_CHANGED (f) = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue