]> git.eshelyaron.com Git - emacs.git/commit
Fix some NS drawing issues (bug#32932)
authorAlan Third <alan@idiocy.org>
Sun, 14 Oct 2018 18:12:00 +0000 (19:12 +0100)
committerAlan Third <alan@idiocy.org>
Wed, 24 Oct 2018 10:32:23 +0000 (11:32 +0100)
commit7e8eee60a9dbb0c59cf26f237b21efe7fd1043c9
treef30088bfeb0bd46f1f0ac420d88c54edc910b758
parentd72975a654e5effe86625126ba7f2923c8e2f9d2
Fix some NS drawing issues (bug#32932)

* src/nsterm.m (ns_clip_to_rect):
(ns_reset_clipping): Remove gsaved variable and associated code.
(ns_flush_display): Remove function.
(ns_copy_bits): use translateRectsNeedingDisplayInRect:by: to copy any
pending drawing actions along with the image.
([EmacsView windowWillResize:toSize:]): Remove unneeded call.
([EmacsView drawRect:]): Remove redundant call to ns_clear_frame_area,
and optimize the exposed rectangles.
(ns_draw_window_cursor): Remove unneeded disabling of screen updates.
src/nsterm.m