diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.h | 11 | ||||
| -rw-r--r-- | src/xdisp.c | 5 |
2 files changed, 12 insertions, 4 deletions
diff --git a/src/window.h b/src/window.h index 2f793ebe438..9da6126c321 100644 --- a/src/window.h +++ b/src/window.h | |||
| @@ -1114,9 +1114,11 @@ void set_window_buffer (Lisp_Object window, Lisp_Object buffer, | |||
| 1114 | 1114 | ||
| 1115 | extern Lisp_Object echo_area_window; | 1115 | extern Lisp_Object echo_area_window; |
| 1116 | 1116 | ||
| 1117 | /* Non-zero if we should redraw the mode lines on the next redisplay. | 1117 | /* Non-zero if we should redraw the mode line*s* on the next redisplay. |
| 1118 | Usually set to a unique small integer so we can track the main causes of | 1118 | Usually set to a unique small integer so we can track the main causes of |
| 1119 | full redisplays in `redisplay--mode-lines-cause'. */ | 1119 | full redisplays in `redisplay--mode-lines-cause'. |
| 1120 | Here "mode lines" includes other elements not coming from the buffer's | ||
| 1121 | text, such as header-lines, tab lines, frame names, menu-bars, .... */ | ||
| 1120 | 1122 | ||
| 1121 | extern int update_mode_lines; | 1123 | extern int update_mode_lines; |
| 1122 | 1124 | ||
| @@ -1134,6 +1136,11 @@ extern int windows_or_buffers_changed; | |||
| 1134 | extern void wset_redisplay (struct window *w); | 1136 | extern void wset_redisplay (struct window *w); |
| 1135 | extern void fset_redisplay (struct frame *f); | 1137 | extern void fset_redisplay (struct frame *f); |
| 1136 | extern void bset_redisplay (struct buffer *b); | 1138 | extern void bset_redisplay (struct buffer *b); |
| 1139 | |||
| 1140 | /* Routines to indicate that the mode-lines might need to be redisplayed. | ||
| 1141 | Just as for `update_mode_lines`, this includes other elements not coming | ||
| 1142 | from the buffer's text, such as header-lines, tab lines, frame names, | ||
| 1143 | menu-bars, .... */ | ||
| 1137 | extern void bset_update_mode_line (struct buffer *b); | 1144 | extern void bset_update_mode_line (struct buffer *b); |
| 1138 | extern void wset_update_mode_line (struct window *w); | 1145 | extern void wset_update_mode_line (struct window *w); |
| 1139 | /* Call this to tell redisplay to look for other windows than selected-window | 1146 | /* Call this to tell redisplay to look for other windows than selected-window |
diff --git a/src/xdisp.c b/src/xdisp.c index a3464c2c375..5d94dc003f3 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -16490,8 +16490,9 @@ redisplay_internal (void) | |||
| 16490 | enum {MAX_GARBAGED_FRAME_RETRIES = 2 }; | 16490 | enum {MAX_GARBAGED_FRAME_RETRIES = 2 }; |
| 16491 | int garbaged_frame_retries = 0; | 16491 | int garbaged_frame_retries = 0; |
| 16492 | 16492 | ||
| 16493 | /* True means redisplay has to consider all windows on all | 16493 | /* False means that only the selected_window needs to be updated. |
| 16494 | frames. False, only selected_window is considered. */ | 16494 | True means that other windows may need to be updated as well, |
| 16495 | so we need to consult `needs_no_update` for all windows. */ | ||
| 16495 | bool consider_all_windows_p; | 16496 | bool consider_all_windows_p; |
| 16496 | 16497 | ||
| 16497 | /* True means redisplay has to redisplay the miniwindow. */ | 16498 | /* True means redisplay has to redisplay the miniwindow. */ |