diff options
| author | Stefan Monnier | 2015-09-30 10:00:13 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2015-09-30 10:00:13 -0400 |
| commit | 8b1df960131a173779e88df605a21ebc0443634a (patch) | |
| tree | fbc9cb9cc1b64c9a923685662b7f0af2a54bb828 /src/window.c | |
| parent | 44298d3cf8749a89318422a2fb314dd4f3711961 (diff) | |
| download | emacs-8b1df960131a173779e88df605a21ebc0443634a.tar.gz emacs-8b1df960131a173779e88df605a21ebc0443634a.zip | |
Try to avoid redisplaying all frames when creating a new one
* src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
* src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
(Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
* src/frame.c (x_set_screen_gamma): Set the specific frame's
`redisplay' bit rather than windows_or_buffers_changed.
* src/window.c (apply_window_adjustment): Remove redundant setting of
windows_or_buffers_changed.
* src/xdisp.c (redisplay_internal): Set the specific frame's
`redisplay' bit rather than update_mode_lines in response to
cursor_type_changed.
(syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
(AINC): Adjust accordingly.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index d61f586a7fb..6d06e548094 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -6609,7 +6609,6 @@ apply_window_adjustment (struct window *w) | |||
| 6609 | eassert (w); | 6609 | eassert (w); |
| 6610 | clear_glyph_matrix (w->current_matrix); | 6610 | clear_glyph_matrix (w->current_matrix); |
| 6611 | w->window_end_valid = false; | 6611 | w->window_end_valid = false; |
| 6612 | windows_or_buffers_changed = 30; | ||
| 6613 | wset_redisplay (w); | 6612 | wset_redisplay (w); |
| 6614 | adjust_frame_glyphs (XFRAME (WINDOW_FRAME (w))); | 6613 | adjust_frame_glyphs (XFRAME (WINDOW_FRAME (w))); |
| 6615 | } | 6614 | } |