]> code.delx.au - gnu-emacs/commit
Try to avoid redisplaying all frames when creating a new one
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 30 Sep 2015 14:00:13 +0000 (10:00 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 30 Sep 2015 14:00:13 +0000 (10:00 -0400)
commit8b1df960131a173779e88df605a21ebc0443634a
treefbc9cb9cc1b64c9a923685662b7f0af2a54bb828
parent44298d3cf8749a89318422a2fb314dd4f3711961
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.
src/frame.c
src/window.c
src/xdisp.c
src/xfaces.c
src/xfns.c