]> git.eshelyaron.com Git - emacs.git/commit
Fix scrollbars on macOS 10.13 and below (bug#54623)
authorAlan Third <alan@idiocy.org>
Wed, 30 Mar 2022 21:40:03 +0000 (22:40 +0100)
committerAlan Third <alan@idiocy.org>
Fri, 8 Apr 2022 21:43:05 +0000 (22:43 +0100)
commit9d20b47ad34ff8b409e83198406883f70782c295
tree3cc179111c53e481e2e2ec5906aad4aad3d9be83
parent022a1f48a4e2005be7aa66b67eb2f17f8386c853
Fix scrollbars on macOS 10.13 and below (bug#54623)

Make any build on macOS 10.13 and below follow the same drawing path
as the GNUstep port.  macOS 10.14 and above will use EmacsLayer.

* src/nsterm.h (EmacsLayer):
* src/nsterm.m ([EmacsView makeBackingLayer]):
([EmacsView unlockFocus]):
([EmacsView windowDidChangeBackingProperties:]):
([EmacsView copyRect:to:]): Remove any code required for macOS 10.13
and below, and fix the #if's to enforce strict separation of the
drawing paths.
(ns_update_end):
(ns_unfocus): Fix #ifs so that flushWindow is called on old macOS
versions as well as GNUstep.
src/nsterm.h
src/nsterm.m