mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-15 15:37:11 +02:00
1adb42bd2dddb1cb37b08c10e2dd1a3a5b1e57ad
This fixes MacVim to work again on OSX 10.9. It was previously crashing on launch for last few versions. titlebarAppearsTransparent call: This API was added in 10.10, and previously MacVim wasn't properly guarding it with the proper OS version check, causing it to crash under 10.9 (which is the lowest currently supported macOS version). CGContext call: The new stateful renderer is using a newer API to retrieve the CGContext from the NS wrapper, but that was also only added in 10.10. When compiling against older versions, just use the older, now-deprecated API "graphicsPort" instead. It still works. Also, change the version check for `safeAreaInsets` for non-native full screen to use `@available` as well instead of checking for selector. This is more consistent with how other code works and fixes a compiler warning about not checking for OS version. Fix #1212
Vim - the text editor - for macOS
-
MacVim homepage https://macvim-dev.github.io/macvim
-
Download the latest version from Releases.
-
Vim README: README_vim.md
Languages
Vim Script
52%
C
38.1%
Objective-C
3.1%
Roff
1.6%
Makefile
1.2%
Other
3.2%