diff options
| author | Kenichi Handa | 2014-01-11 22:00:54 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2014-01-11 22:00:54 +0900 |
| commit | af05bef2d1985fb9bd8485f3084f3bfe282a911f (patch) | |
| tree | 073c53ac52592c200d8b00e5458d4dc70c8647f4 /src/window.c | |
| parent | 3923e7bde942018135c7362c75327ffddcbd81fc (diff) | |
| parent | 02013850f638520bed0d6c3f77eb9c80e0f73983 (diff) | |
| download | emacs-af05bef2d1985fb9bd8485f3084f3bfe282a911f.tar.gz emacs-af05bef2d1985fb9bd8485f3084f3bfe282a911f.zip | |
merge trunk
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index f85627ac49f..bd319f5be8f 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3155,6 +3155,7 @@ check_frame_size (struct frame *frame, int *width, int *height, bool pixelwise) | |||
| 3155 | min_height = 2 * min_height; | 3155 | min_height = 2 * min_height; |
| 3156 | 3156 | ||
| 3157 | min_height += FRAME_TOP_MARGIN_HEIGHT (frame); | 3157 | min_height += FRAME_TOP_MARGIN_HEIGHT (frame); |
| 3158 | min_height += FRAME_INTERNAL_BORDER_WIDTH (frame); | ||
| 3158 | 3159 | ||
| 3159 | if (*height < min_height) | 3160 | if (*height < min_height) |
| 3160 | *height = min_height; | 3161 | *height = min_height; |
| @@ -4047,6 +4048,8 @@ resize_frame_windows (struct frame *f, int size, bool horflag, bool pixelwise) | |||
| 4047 | have implicitly given us a zero or negative height. */ | 4048 | have implicitly given us a zero or negative height. */ |
| 4048 | if (pixelwise) | 4049 | if (pixelwise) |
| 4049 | { | 4050 | { |
| 4051 | /* Note: This does not include the size for internal borders | ||
| 4052 | since these are not part of the frame's text area. */ | ||
| 4050 | new_pixel_size = max (horflag | 4053 | new_pixel_size = max (horflag |
| 4051 | ? size | 4054 | ? size |
| 4052 | : (size | 4055 | : (size |