• Stefan Monnier's avatar
    Try to avoid redisplaying all frames when creating a new one · 8b1df960
    Stefan Monnier authored
    * 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.
    8b1df960
frame.c 163 KB