aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorMartin Rudalics2014-11-07 11:49:22 +0100
committerMartin Rudalics2014-11-07 11:49:22 +0100
commit1c50b3adb636addc4244942e8f0e33b1e557ec07 (patch)
treefc452db1b888d5833e915778ad795c9d86f06678 /src/ChangeLog
parenta067ef9a5ddc9812e35734e8c027684e01d684ef (diff)
downloademacs-1c50b3adb636addc4244942e8f0e33b1e557ec07.tar.gz
emacs-1c50b3adb636addc4244942e8f0e33b1e557ec07.zip
Improve inhibiting of implied frame resizes.
* frames.texi (Size and Position): Rewrite description of `frame-inhibit-implied-resize'. * cus-start.el (frame-resize-pixelwise): Fix group. (frame-inhibit-implied-resize): Add entry. * dispnew.c (change_frame_size_1): Fix call of adjust_frame_size. * frame.c (Qsize, Qframe_position, Qframe_outer_size) (Qframe_inner_size, Qexternal_border_size, Qtitle_height) (Qmenu_bar_external, Qmenu_bar_size, Qtool_bar_external) (Qtool_bar_size): New constants. (frame_inhibit_resize, adjust_frame_size): New argument to handle case where frame_inhibit_implied_resize is a list. (Fmake_terminal_frame, Fset_frame_height, Fset_frame_width) (Fset_frame_size, x_set_left_fringe, x_set_right_fringe) (x_set_right_divider_width, x_set_bottom_divider_width) (x_set_vertical_scroll_bars, x_set_horizontal_scroll_bars) (x_set_scroll_bar_width, x_set_scroll_bar_height): Update callers. (frame-inhibit-implied-resize): Rewrite doc-string. * frame.h (frame_inhibit_resize, adjust_frame_size): Fix external declarations. (Qframe_position, Qframe_outer_size) (Qframe_inner_size, Qexternal_border_size, Qtitle_height) (Qmenu_bar_external, Qmenu_bar_size, Qtool_bar_external) (Qtool_bar_size): Extern them. * gtkutil.c (FRAME_TOTAL_PIXEL_HEIGHT, FRAME_TOTAL_PIXEL_WIDTH) (xg_height_or_width_changed): Remove. (xg_frame_set_char_size): Adjust adjust_frame_size calls. (menubar_map_cb, xg_update_frame_menubar, free_frame_menubar) (tb_size_cb, update_frame_tool_bar, free_frame_tool_bar) (xg_change_toolbar_position): Call adjust_frame_size directly. * nsfns.m (x_set_internal_border_width, Fx_create_frame): Fix calls of adjust_frame_size. * w32fns.c (x_set_internal_border_width, x_set_menu_bar_lines) (Fx_create_frame, x_create_tip_frame): Adjust adjust_frame_size calls. (x_set_tool_bar_lines, x_change_tool_bar_height): Make sure that frame can get resized when tool-bar-lines parameter changes from or to zero. (Fw32_frame_menu_bar_size): Return fourth value. (Fw32_frame_rect): Block input around system calls (Fx_frame_geometry): New function. * w32menu.c (set_frame_menubar): Adjust adjust_frame_size call. * w32term.c (x_new_font): Adjust adjust_frame_size call. * widget.c (EmacsFrameSetCharSize): Adjust frame_inhibit_resize call. * window.c (Fset_window_configuration): Adjust adjust_frame_size call. * xfns.c (x_set_menu_bar_lines, x_set_internal_border_width) (Fx_create_frame): Adjust adjust_frame_size calls. (x_set_tool_bar_lines, x_change_tool_bar_height): Make sure that frame can get resized when tool-bar-lines parameter changes from or to zero. (Fx_frame_geometry): New function. * xmenu.c (update_frame_menubar): On Lucid call adjust_frame_size with one pixel less height to avoid that repeatedly adding/removing the menu bar grows the frame. (free_frame_menubar): On Motif arrange to optionally preserve the old frame height when removing the menu bar. * xterm.c (x_new_font): Adjust adjust_frame_size call.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6b62a60f7b0..c46d23dd82e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,62 @@
12014-11-07 Martin Rudalics <rudalics@gmx.at>
2
3 * dispnew.c (change_frame_size_1): Fix call of
4 adjust_frame_size.
5 * frame.c (Qsize, Qframe_position, Qframe_outer_size)
6 (Qframe_inner_size, Qexternal_border_size, Qtitle_height)
7 (Qmenu_bar_external, Qmenu_bar_size, Qtool_bar_external)
8 (Qtool_bar_size): New constants.
9 (frame_inhibit_resize, adjust_frame_size): New argument to
10 handle case where frame_inhibit_implied_resize is a list.
11 (Fmake_terminal_frame, Fset_frame_height, Fset_frame_width)
12 (Fset_frame_size, x_set_left_fringe, x_set_right_fringe)
13 (x_set_right_divider_width, x_set_bottom_divider_width)
14 (x_set_vertical_scroll_bars, x_set_horizontal_scroll_bars)
15 (x_set_scroll_bar_width, x_set_scroll_bar_height): Update
16 callers.
17 (frame-inhibit-implied-resize): Rewrite doc-string.
18 * frame.h (frame_inhibit_resize, adjust_frame_size): Fix
19 external declarations.
20 (Qframe_position, Qframe_outer_size)
21 (Qframe_inner_size, Qexternal_border_size, Qtitle_height)
22 (Qmenu_bar_external, Qmenu_bar_size, Qtool_bar_external)
23 (Qtool_bar_size): Extern them.
24 * gtkutil.c (FRAME_TOTAL_PIXEL_HEIGHT, FRAME_TOTAL_PIXEL_WIDTH)
25 (xg_height_or_width_changed): Remove.
26 (xg_frame_set_char_size): Adjust adjust_frame_size calls.
27 (menubar_map_cb, xg_update_frame_menubar, free_frame_menubar)
28 (tb_size_cb, update_frame_tool_bar, free_frame_tool_bar)
29 (xg_change_toolbar_position): Call adjust_frame_size directly.
30 * nsfns.m (x_set_internal_border_width, Fx_create_frame): Fix
31 calls of adjust_frame_size.
32 * w32fns.c (x_set_internal_border_width, x_set_menu_bar_lines)
33 (Fx_create_frame, x_create_tip_frame): Adjust adjust_frame_size
34 calls.
35 (x_set_tool_bar_lines, x_change_tool_bar_height): Make sure that
36 frame can get resized when tool-bar-lines parameter changes from
37 or to zero.
38 (Fw32_frame_menu_bar_size): Return fourth value.
39 (Fw32_frame_rect): Block input around system calls
40 (Fx_frame_geometry): New function.
41 * w32menu.c (set_frame_menubar): Adjust adjust_frame_size call.
42 * w32term.c (x_new_font): Adjust adjust_frame_size call.
43 * widget.c (EmacsFrameSetCharSize): Adjust frame_inhibit_resize
44 call.
45 * window.c (Fset_window_configuration): Adjust adjust_frame_size
46 call.
47 * xfns.c (x_set_menu_bar_lines, x_set_internal_border_width)
48 (Fx_create_frame): Adjust adjust_frame_size calls.
49 (x_set_tool_bar_lines, x_change_tool_bar_height): Make sure that
50 frame can get resized when tool-bar-lines parameter changes from
51 or to zero.
52 (Fx_frame_geometry): New function.
53 * xmenu.c (update_frame_menubar): On Lucid call
54 adjust_frame_size with one pixel less height to avoid that
55 repeatedly adding/removing the menu bar grows the frame.
56 (free_frame_menubar): On Motif arrange to optionally preserve
57 the old frame height when removing the menu bar.
58 * xterm.c (x_new_font): Adjust adjust_frame_size call.
59
12014-11-03 Eli Zaretskii <eliz@gnu.org> 602014-11-03 Eli Zaretskii <eliz@gnu.org>
2 61
3 * xdisp.c (Fdump_glyph_matrix, Fdump_frame_glyph_matrix): Doc fix. 62 * xdisp.c (Fdump_glyph_matrix, Fdump_frame_glyph_matrix): Doc fix.