Mercurial > vim
changeset 20154:5dc9b96e3c5a v8.2.0632
patch 8.2.0632: crash when using Haiku
Commit: https://github.com/vim/vim/commit/92c461ef1b3b58c7dd4835bc881769f0f84e8ad0
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 24 22:19:00 2020 +0200
patch 8.2.0632: crash when using Haiku
Problem: Crash when using Haiku.
Solution: Lock the screen. (closes https://github.com/vim/vim/issues/5975, closes https://github.com/vim/vim/issues/5973)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 24 Apr 2020 22:30:04 +0200 |
parents | 1c4748173fad |
children | f413c0207fd1 |
files | src/screen.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -3881,6 +3881,10 @@ screen_del_lines( clip_scroll_selection(line_count); #endif +#ifdef FEAT_GUI_HAIKU + vim_lock_screen(); +#endif + #ifdef FEAT_GUI // Don't update the GUI cursor here, ScreenLines[] is invalid until the // scrolling is actually carried out.