Mercurial > vim
diff src/gui.c @ 21745:35921b7fc07a v8.2.1422
patch 8.2.1422: the Mac GUI implementation is outdated
Commit: https://github.com/vim/vim/commit/097148e849136b49052b1b5123c714fb1d74db9b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 11 21:58:20 2020 +0200
patch 8.2.1422: the Mac GUI implementation is outdated
Problem: The Mac GUI implementation is outdated and probably doesn't even
work.
Solution: Remove the Mac GUI code. The MacVim project provides the
supported Vim GUI version.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 11 Aug 2020 22:00:04 +0200 |
parents | e9954158a9cf |
children | e82579016863 |
line wrap: on
line diff
--- a/src/gui.c +++ b/src/gui.c @@ -56,7 +56,7 @@ static int disable_flush = 0; // If > 0, * this makes the thumb indicate the part of the text that is shown. Motif * can't do this. */ -#if defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MAC) +#if defined(FEAT_GUI_ATHENA) # define SCROLL_PAST_END #endif @@ -846,7 +846,7 @@ gui_exit(int rc) } #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11) || defined(FEAT_GUI_MSWIN) \ - || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC) || defined(PROTO) + || defined(FEAT_GUI_PHOTON) || defined(PROTO) # define NEED_GUI_UPDATE_SCREEN 1 /* * Called when the GUI shell is closed by the user. If there are no changed @@ -1377,7 +1377,7 @@ gui_position_components(int total_width #endif # if defined(FEAT_GUI_TABLINE) && (defined(FEAT_GUI_MSWIN) \ - || defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_MAC)) + || defined(FEAT_GUI_MOTIF)) if (gui_has_tabline()) text_area_y += gui.tabline_height; #endif