]> git.eshelyaron.com Git - emacs.git/commit
Fix more drawing bugs in NS port (bug#32932)
authorAlan Third <alan@idiocy.org>
Mon, 29 Oct 2018 15:37:35 +0000 (15:37 +0000)
committerAlan Third <alan@idiocy.org>
Sun, 25 Nov 2018 11:25:33 +0000 (11:25 +0000)
commit094fcf62d289f19a4633275812e9e5e500463e91
treefacf8757888aebe89fa8aae1a9efe94df7502139
parent9877c03293241091ba4069002d4dc4d74b557414
Fix more drawing bugs in NS port (bug#32932)

* src/nsterm.m (ns_row_rect): New function.
(ns_clip_to_row): Remove function.
(ns_copy_bits): Fix mistake.
(ns_shift_glyphs_for_insert): Mark the frame as dirty instead of
directly copying.
(ns_draw_fringe_bitmap): Stop using ns_clip_to_row.
(ns_draw_window_cursor): Stop using ns_clip_to_row and perform a
display when not in redisplay.
(ns_update_window_begin): Remove redundant code that never executes.
([EmacsView drawRect:]): Show the rectangle being exposed in NSTRACE.
* src/xdisp.c (expose_window_tree) [HAVE_NS]:
(expose_frame) [HAVE_NS]: Redraw even if the frame is garbaged.
src/nsterm.m
src/xdisp.c