1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00

* window.c (window_min_size_1): Ensure room for the scroll bar and

fringes.
This commit is contained in:
Chong Yidong 2006-02-18 22:17:09 +00:00
parent 08e55a99ab
commit da7520dea4
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-02-18 Chong Yidong <cyd@stupidchicken.com>
* window.c (window_min_size_1): Ensure room for the scroll bar and
fringes.
2006-02-17 Romain Francoise <romain@orebokech.com>
* puresize.h (BASE_PURESIZE): Increment to 1200000.

View file

@ -2568,7 +2568,10 @@ window_min_size_1 (w, width_p)
else
{
if (width_p)
size = window_min_width;
size = max (window_min_width,
(MIN_SAFE_WINDOW_WIDTH
+ WINDOW_FRINGE_COLS (w)
+ WINDOW_SCROLL_BAR_COLS (w)));
else
{
if (MINI_WINDOW_P (w)