diff options
| author | Miles Bader | 2007-10-27 09:12:07 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-10-27 09:12:07 +0000 |
| commit | 18cd1f1a08833b0baad21c1d7b13a6845d95cf57 (patch) | |
| tree | 03f33df7513d15bd5de0348aec35ef82bd061508 /src/window.c | |
| parent | 74863e7a78b1c8da1094a8250660a009c3b23015 (diff) | |
| parent | fdc9061358d3654e14bfc1419632e1d6c6c5c13e (diff) | |
| download | emacs-18cd1f1a08833b0baad21c1d7b13a6845d95cf57.tar.gz emacs-18cd1f1a08833b0baad21c1d7b13a6845d95cf57.zip | |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 902-908)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 131-137)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 261-262)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-278
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/window.c b/src/window.c index 766c291820f..a377ff76718 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -2690,9 +2690,8 @@ window_fixed_size_p (w, width_p, check_siblings_p) | |||
| 2690 | } | 2690 | } |
| 2691 | 2691 | ||
| 2692 | /* Return the minimum size for leaf window W. WIDTH_P non-zero means | 2692 | /* Return the minimum size for leaf window W. WIDTH_P non-zero means |
| 2693 | take into account fringes and the scrollbar of W. WIDTH_P zero | 2693 | take into account fringes and the scrollbar of W. WIDTH_P zero means |
| 2694 | means take into account mode-line and header-line of W. Return 1 | 2694 | take into account mode-line of W. Return 1 for the minibuffer. */ |
| 2695 | for the minibuffer. */ | ||
| 2696 | 2695 | ||
| 2697 | static int | 2696 | static int |
| 2698 | window_min_size_2 (w, width_p) | 2697 | window_min_size_2 (w, width_p) |
| @@ -2711,8 +2710,11 @@ window_min_size_2 (w, width_p) | |||
| 2711 | else | 2710 | else |
| 2712 | size = max (window_min_height, | 2711 | size = max (window_min_height, |
| 2713 | (MIN_SAFE_WINDOW_HEIGHT | 2712 | (MIN_SAFE_WINDOW_HEIGHT |
| 2714 | + (WINDOW_WANTS_MODELINE_P (w) ? 1 : 0) | 2713 | /* Don't count the header-line here. It would break |
| 2715 | + (WINDOW_WANTS_HEADER_LINE_P (w) ? 1 : 0 ))); | 2714 | splitting a window with a header-line when the new |
| 2715 | window shall have a height of two (calculator does | ||
| 2716 | that). */ | ||
| 2717 | + (WINDOW_WANTS_MODELINE_P (w) ? 1 : 0))); | ||
| 2716 | 2718 | ||
| 2717 | return size; | 2719 | return size; |
| 2718 | } | 2720 | } |