summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorAlan Third <alan@idiocy.org>2018-09-28 20:23:07 +0100
committerAlan Third <alan@idiocy.org>2018-09-28 20:23:46 +0100
commit7946445962372c4255180af45cb7c857f1b0b5fa (patch)
tree069baad0433140d7ccdc166bb8551b588cdf4d7c /src/terminal.c
parent41fa88b99bebf7af62cdea0c0867b04e9b968db3 (diff)
downloademacs-7946445962372c4255180af45cb7c857f1b0b5fa.tar.gz
emacs-7946445962372c4255180af45cb7c857f1b0b5fa.tar.bz2
emacs-7946445962372c4255180af45cb7c857f1b0b5fa.zip
Make all NS drawing be done from drawRect
See bug#31904 and bug#32812. * src/nsterm.m (ns_update_begin): Don't lock focus, only clip if there is already a view focused. (ns_update_end): Don't mess with view focusing any more. (ns_focus): Only clip drawing if there is already a focused view, otherwise mark area dirty for later drawing. Renamed ns_clip_to_rect. All callers changed. (ns_unfocus): Don't unfocus the view any more. Renamed ns_reset_clipping. All callers changed. (ns_clip_to_row): Update to match ns_clip_to_rect. (ns_clear_frame): (ns_clear_frame_area): (ns_draw_fringe_bitmap): (ns_draw_window_cursor): (ns_draw_vertical_window_border): (ns_draw_window_divider): (ns_dumpglyphs_stretch): (ns_draw_glyph_string): Only draw if ns_focus or ns_clip_to_row return YES. (ns_copy_bits): Remove superfluous calls to ns_(un)focus. (ns_flush_display): New function.
Diffstat (limited to 'src/terminal.c')
0 files changed, 0 insertions, 0 deletions