aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorKim F. Storm2006-12-29 23:29:27 +0000
committerKim F. Storm2006-12-29 23:29:27 +0000
commit7d1d98ee4be3868f134e222dac56e88adee331ce (patch)
tree89d2dd8aa226d02809ed1a6c86a2fdf98fbc033d /src/window.c
parent6d7944e02b9dbc1fbf6553928d5f40071cd43fe5 (diff)
downloademacs-7d1d98ee4be3868f134e222dac56e88adee331ce.tar.gz
emacs-7d1d98ee4be3868f134e222dac56e88adee331ce.zip
(Frecenter): Set minimize_tool_bar_window_p flag
when called without arg to redraw with minimum toolbar height. Update doc string.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/window.c b/src/window.c
index 0db51c58eda..babf72c2c52 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5727,8 +5727,10 @@ With prefix argument ARG, recenter putting point on screen line ARG
5727relative to the current window. If ARG is negative, it counts up from the 5727relative to the current window. If ARG is negative, it counts up from the
5728bottom of the window. (ARG should be less than the height of the window.) 5728bottom of the window. (ARG should be less than the height of the window.)
5729 5729
5730If ARG is omitted or nil, erase the entire frame and then 5730If ARG is omitted or nil, erase the entire frame and then redraw with point
5731redraw with point in the center of the current window. 5731in the center of the current window. If `auto-resize-tool-bars' is set to
5732`grow-only', this resets the tool-bar's height to the minimum height needed.
5733
5732Just C-u as prefix means put point in the center of the window 5734Just C-u as prefix means put point in the center of the window
5733and redisplay normally--don't erase and redraw the frame. */) 5735and redisplay normally--don't erase and redraw the frame. */)
5734 (arg) 5736 (arg)
@@ -5753,8 +5755,10 @@ and redisplay normally--don't erase and redraw the frame. */)
5753 for (i = 0; i < n_compositions; i++) 5755 for (i = 0; i < n_compositions; i++)
5754 composition_table[i]->font = NULL; 5756 composition_table[i]->font = NULL;
5755 5757
5756 Fredraw_frame (w->frame); 5758 WINDOW_XFRAME (w)->minimize_tool_bar_window_p = 1;
5757 SET_FRAME_GARBAGED (XFRAME (WINDOW_FRAME (w))); 5759
5760 Fredraw_frame (WINDOW_FRAME (w));
5761 SET_FRAME_GARBAGED (WINDOW_XFRAME (w));
5758 center_p = 1; 5762 center_p = 1;
5759 } 5763 }
5760 else if (CONSP (arg)) /* Just C-u. */ 5764 else if (CONSP (arg)) /* Just C-u. */