diff options
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/window.c b/src/window.c index 1576ed16c8f..b34cc3659c1 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -5729,8 +5729,10 @@ With prefix argument ARG, recenter putting point on screen line ARG | |||
| 5729 | relative to the current window. If ARG is negative, it counts up from the | 5729 | relative to the current window. If ARG is negative, it counts up from the |
| 5730 | bottom of the window. (ARG should be less than the height of the window.) | 5730 | bottom of the window. (ARG should be less than the height of the window.) |
| 5731 | 5731 | ||
| 5732 | If ARG is omitted or nil, erase the entire frame and then | 5732 | If ARG is omitted or nil, erase the entire frame and then redraw with point |
| 5733 | redraw with point in the center of the current window. | 5733 | in the center of the current window. If `auto-resize-tool-bars' is set to |
| 5734 | `grow-only', this resets the tool-bar's height to the minimum height needed. | ||
| 5735 | |||
| 5734 | Just C-u as prefix means put point in the center of the window | 5736 | Just C-u as prefix means put point in the center of the window |
| 5735 | and redisplay normally--don't erase and redraw the frame. */) | 5737 | and redisplay normally--don't erase and redraw the frame. */) |
| 5736 | (arg) | 5738 | (arg) |
| @@ -5755,8 +5757,10 @@ and redisplay normally--don't erase and redraw the frame. */) | |||
| 5755 | for (i = 0; i < n_compositions; i++) | 5757 | for (i = 0; i < n_compositions; i++) |
| 5756 | composition_table[i]->font = NULL; | 5758 | composition_table[i]->font = NULL; |
| 5757 | 5759 | ||
| 5758 | Fredraw_frame (w->frame); | 5760 | WINDOW_XFRAME (w)->minimize_tool_bar_window_p = 1; |
| 5759 | SET_FRAME_GARBAGED (XFRAME (WINDOW_FRAME (w))); | 5761 | |
| 5762 | Fredraw_frame (WINDOW_FRAME (w)); | ||
| 5763 | SET_FRAME_GARBAGED (WINDOW_XFRAME (w)); | ||
| 5760 | center_p = 1; | 5764 | center_p = 1; |
| 5761 | } | 5765 | } |
| 5762 | else if (CONSP (arg)) /* Just C-u. */ | 5766 | else if (CONSP (arg)) /* Just C-u. */ |