diff options
| author | Martin Rudalics | 2014-08-10 10:26:28 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2014-08-10 10:26:28 +0200 |
| commit | c29f96fa6b074980faea5bd4bddb4c74993838b0 (patch) | |
| tree | 7ad142e338513b12278c4be995843e6c84b27887 /src/ChangeLog | |
| parent | aa4008091c9adcc23924983f45eb442f55217056 (diff) | |
| download | emacs-c29f96fa6b074980faea5bd4bddb4c74993838b0.tar.gz emacs-c29f96fa6b074980faea5bd4bddb4c74993838b0.zip | |
Fix handling of menu bar line on TTY frames (Bug#18136) (Bug#18196).
* dispnew.c (handle_window_change_signal):
* keyboard.c (Fsuspend_emacs): Call change_frame_size with
frame's menu bar lines subtracted from height.
* frame.c (frame_inhibit_resize): Inhibit resizing of TTY
frames.
(adjust_frame_size): Count in menu bar when setting FrameRows.
(make_terminal_frame): When setting up the frame's lines and
text height don't count in the menu bar.
(Fmake_terminal_frame): Call adjust_frame_size with menu bar
lines subtracted from height.
(do_switch_frame): Set tty's FrameRows to number of total lines
of frame.
(Fframe_pixel_height, Fframe_pixel_width): If no window system
is used, return total number of lines and columns.
* menu.c (emulate_dialog_with_menu): Use FRAME_TOTAL_LINES instead
of FRAME_LINES.
* term.c (OUTPUT, tty_set_terminal_modes)
(tty_set_terminal_window, tty_set_scroll_region)
(tty_clear_to_end, tty_write_glyphs, tty_write_glyphs_with_face)
(tty_ins_del_lines, tty_menu_display, tty_menu_activate): Use
FRAME_TOTAL_LINES instead of FRAME_LINES.
(Fresume_tty): Use FRAME_TOTAL_LINES instead of FRAME_LINES.
Call change_frame_size with frame's menu bar lines subtracted
from height.
* w32console.c (w32con_clear_to_end, w32con_clear_frame)
(w32con_ins_del_lines): Use FRAME_TOTAL_LINES instead of
FRAME_LINES.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 52862bfb446..fb941916c45 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,35 @@ | |||
| 1 | 2014-08-10 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | Fix handling of menu bar line on TTY frames (Bug#18136) | ||
| 4 | (Bug#18196). | ||
| 5 | * dispnew.c (handle_window_change_signal): | ||
| 6 | * keyboard.c (Fsuspend_emacs): Call change_frame_size with | ||
| 7 | frame's menu bar lines subtracted from height. | ||
| 8 | * frame.c (frame_inhibit_resize): Inhibit resizing of TTY | ||
| 9 | frames. | ||
| 10 | (adjust_frame_size): Count in menu bar when setting FrameRows. | ||
| 11 | (make_terminal_frame): When setting up the frame's lines and | ||
| 12 | text height don't count in the menu bar. | ||
| 13 | (Fmake_terminal_frame): Call adjust_frame_size with menu bar | ||
| 14 | lines subtracted from height. | ||
| 15 | (do_switch_frame): Set tty's FrameRows to number of total lines | ||
| 16 | of frame. | ||
| 17 | (Fframe_pixel_height, Fframe_pixel_width): If no window system | ||
| 18 | is used, return total number of lines and columns. | ||
| 19 | * menu.c (emulate_dialog_with_menu): Use FRAME_TOTAL_LINES instead | ||
| 20 | of FRAME_LINES. | ||
| 21 | * term.c (OUTPUT, tty_set_terminal_modes) | ||
| 22 | (tty_set_terminal_window, tty_set_scroll_region) | ||
| 23 | (tty_clear_to_end, tty_write_glyphs, tty_write_glyphs_with_face) | ||
| 24 | (tty_ins_del_lines, tty_menu_display, tty_menu_activate): Use | ||
| 25 | FRAME_TOTAL_LINES instead of FRAME_LINES. | ||
| 26 | (Fresume_tty): Use FRAME_TOTAL_LINES instead of FRAME_LINES. | ||
| 27 | Call change_frame_size with frame's menu bar lines subtracted | ||
| 28 | from height. | ||
| 29 | * w32console.c (w32con_clear_to_end, w32con_clear_frame) | ||
| 30 | (w32con_ins_del_lines): Use FRAME_TOTAL_LINES instead of | ||
| 31 | FRAME_LINES. | ||
| 32 | |||
| 1 | 2014-08-09 Reuben Thomas <rrt@sc3d.org> | 33 | 2014-08-09 Reuben Thomas <rrt@sc3d.org> |
| 2 | 34 | ||
| 3 | * alloc.c (Fmemory_info): Remove a stray brace. | 35 | * alloc.c (Fmemory_info): Remove a stray brace. |