Commit 9be95071 authored by Martin Rudalics's avatar Martin Rudalics
Browse files

In window_resize_apply adjust margin width, if necessary (Bug#16649).

* window.c (window_resize_apply): Adjust margin width, if necessary.
parent dc0e4c48
2014-02-07 Martin Rudalics <>
Constrain window box and body sizes (Bug#16649).
Constrain window box/body sizes and margin widths (Bug#16649).
* xdisp.c (window_box_width): Don't return less than zero.
(window_box_left_offset, window_box_right_offset): Don't return
more than the window's pixel width.
* window.c (window_body_height, window_body_width): Don't return
negative value.
(window_resize_apply): Adjust margin width, if necessary.
2014-02-07 Glenn Morris <>
......@@ -3923,8 +3923,11 @@ window_resize_apply (struct window *w, bool horflag)
/* Bug#15957. */
w->window_end_valid = 0;
adjust_window_margins (w);
/* Bug#15957. */
w->window_end_valid = 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment