diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/dispnew.c | 2 | ||||
| -rw-r--r-- | src/window.c | 6 |
3 files changed, 13 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 22830f49fb8..29b6078b037 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,6 +1,14 @@ | |||
| 1 | 2014-03-05 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * dispnew.c (change_frame_size_1): Add new_lines instead of | ||
| 4 | new_height, the latter may be still zero if passed as such. | ||
| 5 | * window.c (Fwindow_pixel_height): Mention bottom divider in | ||
| 6 | doc-string. | ||
| 7 | |||
| 1 | 2014-03-05 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2014-03-05 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | Fix "resource temporarily unavailable" with xgselect (Bug#16925). | 10 | Fix "resource temporarily unavailable" with xgselect |
| 11 | (Bug#16925). | ||
| 4 | * xgselect.c: Include <stdbool.h>. | 12 | * xgselect.c: Include <stdbool.h>. |
| 5 | (xg_select) [!USE_GTK]: Don't lose track of errno. | 13 | (xg_select) [!USE_GTK]: Don't lose track of errno. |
| 6 | 14 | ||
diff --git a/src/dispnew.c b/src/dispnew.c index e11d143d0b5..7833f8e8af5 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -5539,7 +5539,7 @@ change_frame_size_1 (struct frame *f, int new_width, int new_height, | |||
| 5539 | /* MSDOS frames cannot PRETEND, as they change frame size by | 5539 | /* MSDOS frames cannot PRETEND, as they change frame size by |
| 5540 | manipulating video hardware. */ | 5540 | manipulating video hardware. */ |
| 5541 | if ((FRAME_TERMCAP_P (f) && !pretend) || FRAME_MSDOS_P (f)) | 5541 | if ((FRAME_TERMCAP_P (f) && !pretend) || FRAME_MSDOS_P (f)) |
| 5542 | FrameRows (FRAME_TTY (f)) = new_height; | 5542 | FrameRows (FRAME_TTY (f)) = new_lines; |
| 5543 | } | 5543 | } |
| 5544 | 5544 | ||
| 5545 | if (new_text_width != FRAME_TEXT_WIDTH (f) | 5545 | if (new_text_width != FRAME_TEXT_WIDTH (f) |
diff --git a/src/window.c b/src/window.c index 09280d206c3..b6cfacd9aad 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -699,9 +699,9 @@ DEFUN ("window-pixel-height", Fwindow_pixel_height, Swindow_pixel_height, 0, 1, | |||
| 699 | doc: /* Return the height of window WINDOW in pixels. | 699 | doc: /* Return the height of window WINDOW in pixels. |
| 700 | WINDOW must be a valid window and defaults to the selected one. | 700 | WINDOW must be a valid window and defaults to the selected one. |
| 701 | 701 | ||
| 702 | The return value includes the mode line and header line, if any. If | 702 | The return value includes the mode line and header line and the bottom |
| 703 | WINDOW is an internal window, its pixel height is the height of the | 703 | divider, if any. If WINDOW is an internal window, its pixel height is |
| 704 | screen areas spanned by its children. */) | 704 | the height of the screen areas spanned by its children. */) |
| 705 | (Lisp_Object window) | 705 | (Lisp_Object window) |
| 706 | { | 706 | { |
| 707 | return make_number (decode_valid_window (window)->pixel_height); | 707 | return make_number (decode_valid_window (window)->pixel_height); |