aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog3
-rw-r--r--src/window.c7
2 files changed, 7 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 99d545cf99b..a056eead1f6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,11 +1,12 @@
12014-02-07 Martin Rudalics <rudalics@gmx.at> 12014-02-07 Martin Rudalics <rudalics@gmx.at>
2 2
3 Constrain window box and body sizes (Bug#16649). 3 Constrain window box/body sizes and margin widths (Bug#16649).
4 * xdisp.c (window_box_width): Don't return less than zero. 4 * xdisp.c (window_box_width): Don't return less than zero.
5 (window_box_left_offset, window_box_right_offset): Don't return 5 (window_box_left_offset, window_box_right_offset): Don't return
6 more than the window's pixel width. 6 more than the window's pixel width.
7 * window.c (window_body_height, window_body_width): Don't return 7 * window.c (window_body_height, window_body_width): Don't return
8 negative value. 8 negative value.
9 (window_resize_apply): Adjust margin width, if necessary.
9 10
102014-02-07 Glenn Morris <rgm@gnu.org> 112014-02-07 Glenn Morris <rgm@gnu.org>
11 12
diff --git a/src/window.c b/src/window.c
index adde3919699..b2c97d52157 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3923,8 +3923,11 @@ window_resize_apply (struct window *w, bool horflag)
3923 } 3923 }
3924 } 3924 }
3925 else 3925 else
3926 /* Bug#15957. */ 3926 {
3927 w->window_end_valid = 0; 3927 adjust_window_margins (w);
3928 /* Bug#15957. */
3929 w->window_end_valid = 0;
3930 }
3928} 3931}
3929 3932
3930 3933