]> git.eshelyaron.com Git - emacs.git/commit
Improve some NS drawing code
authorAlan Third <alan@idiocy.org>
Fri, 11 Dec 2020 19:52:20 +0000 (19:52 +0000)
committerAlan Third <alan@idiocy.org>
Sat, 12 Dec 2020 10:30:56 +0000 (10:30 +0000)
commit404f12060ca43d100a0609f2658dd487f6a50ebd
tree83b911d1c8b0898f0982d666237a15e8ff490102
parent03ac24f23971d8b5c85ec9383135eb7768226bb6
Improve some NS drawing code

* src/nsterm.m (ns_update_end): There's no need to schedule a redraw
if nothing has been changed.
(ns_set_vertical_scroll_bar):
(ns_set_horizontal_scroll_bar): Fix the logic for clearing under the
scrollbars.
(ns_clear_under_internal_border): No need to clip, the default
clipping rectangle will be fine.
src/nsterm.m