aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorMartin Rudalics2015-01-12 08:18:00 +0100
committerMartin Rudalics2015-01-12 08:18:00 +0100
commitfb35f1f715da1a931204894b132d7fb6eee0f361 (patch)
treedfbedd451cf16a9b6f92bdb551e23b262f110fdb /src/ChangeLog
parentd703a4dce564ede122f5c307889e4bd0e3f3e75c (diff)
downloademacs-fb35f1f715da1a931204894b132d7fb6eee0f361.tar.gz
emacs-fb35f1f715da1a931204894b132d7fb6eee0f361.zip
Adjust frame heights to real height of tool bar.
* frame.el (frame-notice-user-settings): Remove code dealing with frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode' only if `window-system-frame-alist' or `default-frame-alist' ask for it. (make-frame): Update frame-adjust-size-history if needed. * dispnew.c (change_frame_size_1): Pass Qchange_frame_size to adjust_frame_size. * frame.c (frame_default_tool_bar_height): New variable. (adjust_frame_size): Possibly add requested adjustment to Vframe_adjust_size_history. (make_frame): Initialize tool_bar_redisplayed_once slot. (Fset_frame_height, Fset_frame_width, Fset_frame_size): Clarify doc-string. Call adjust_frame_size unconditionally (the frame's text size may remain unaltered but the pixel size may change). (x_figure_window_size): If frame_default_tool_bar_height was set, use it instead of calculating the tool bar height from DEFAULT_TOOL_BAR_IMAGE_HEIGHT. Don't set Vframe_initial_frame_tool_bar_height. (Qchange_frame_size, Qxg_frame_set_char_size) (Qset_window_configuration, Qx_create_frame_1) (Qx_create_frame_2): New symbols. (Vframe_initial_frame_tool_bar_height): Remove. (Vframe_adjust_size_history): New history variable for debugging frame size adjustments. * frame.h (struct frame): New boolean slot tool_bar_redisplayed_once. (frame_default_tool_bar_height): Extern. * gtkutil.c (xg_frame_set_char_size): Pass Qxg_frame_set_char_size to adjust_frame_size. * nsfns.m (Fx_create_frame): Pass Pass Qx_create_frame_1 and Qx_create_frame_2 to adjust_frame_size. * w32fns.c (x_change_tool_bar_height): Call adjust_frame_size with inhibit 1 when we have not redisplayed the tool bar yet. (Fx_create_frame): Pass Pass Qx_create_frame_1 and Qx_create_frame_2 to adjust_frame_size. * w32menu.c (set_frame_menubar): Simplify adjust_frame_size call. * window.c (Fset_window_configuration): Pass Qset_window_configuration to adjust_frame_size. * xdisp.c (redisplay_tool_bar): Assign new height to frame_default_tool_bar_height. (redisplay_internal): If we haven't redisplayed this frame's tool bar, call redisplay_tool_bar early so we can adjust the frame size accordingly. * xfns.c (x_change_tool_bar_height): Call adjust_frame_size with inhibit 1 when we have not redisplayed the tool bar yet. (Fx_create_frame): Pass Pass Qx_create_frame_1 and Qx_create_frame_2 to adjust_frame_size.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 75e9ad51835..ea6274f11f1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,49 @@
12015-01-12 Martin Rudalics <rudalics@gmx.at>
2
3 * dispnew.c (change_frame_size_1): Pass Qchange_frame_size to
4 adjust_frame_size.
5 * frame.c (frame_default_tool_bar_height): New variable.
6 (adjust_frame_size): Possibly add requested adjustment to
7 Vframe_adjust_size_history.
8 (make_frame): Initialize tool_bar_redisplayed_once slot.
9 (Fset_frame_height, Fset_frame_width, Fset_frame_size): Clarify
10 doc-string. Call adjust_frame_size unconditionally (the frame's
11 text size may remain unaltered but the pixel size may change).
12 (x_figure_window_size): If frame_default_tool_bar_height was
13 set, use it instead of calculating the tool bar height from
14 DEFAULT_TOOL_BAR_IMAGE_HEIGHT. Don't set
15 Vframe_initial_frame_tool_bar_height.
16 (Qchange_frame_size, Qxg_frame_set_char_size)
17 (Qset_window_configuration, Qx_create_frame_1)
18 (Qx_create_frame_2): New symbols.
19 (Vframe_initial_frame_tool_bar_height): Remove.
20 (Vframe_adjust_size_history): New history variable for debugging
21 frame size adjustments.
22 * frame.h (struct frame): New boolean slot
23 tool_bar_redisplayed_once.
24 (frame_default_tool_bar_height): Extern.
25 * gtkutil.c (xg_frame_set_char_size): Pass Qxg_frame_set_char_size
26 to adjust_frame_size.
27 * nsfns.m (Fx_create_frame): Pass Pass Qx_create_frame_1 and
28 Qx_create_frame_2 to adjust_frame_size.
29 * w32fns.c (x_change_tool_bar_height): Call adjust_frame_size with
30 inhibit 1 when we have not redisplayed the tool bar yet.
31 (Fx_create_frame): Pass Pass Qx_create_frame_1 and
32 Qx_create_frame_2 to adjust_frame_size.
33 * w32menu.c (set_frame_menubar): Simplify adjust_frame_size
34 call.
35 * window.c (Fset_window_configuration): Pass
36 Qset_window_configuration to adjust_frame_size.
37 * xdisp.c (redisplay_tool_bar): Assign new height to
38 frame_default_tool_bar_height.
39 (redisplay_internal): If we haven't redisplayed this frame's
40 tool bar, call redisplay_tool_bar early so we can adjust the
41 frame size accordingly.
42 * xfns.c (x_change_tool_bar_height): Call adjust_frame_size with
43 inhibit 1 when we have not redisplayed the tool bar yet.
44 (Fx_create_frame): Pass Pass Qx_create_frame_1 and
45 Qx_create_frame_2 to adjust_frame_size.
46
12015-01-12 Paul Eggert <eggert@cs.ucla.edu> 472015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2 48
3 Have 'make' output better GEN names 49 Have 'make' output better GEN names