forked from aniani/vim
patch 8.2.0632: crash when using Haiku
Problem: Crash when using Haiku. Solution: Lock the screen. (closes #5975, closes #5973)
This commit is contained in:
@@ -3881,6 +3881,10 @@ screen_del_lines(
|
|||||||
clip_scroll_selection(line_count);
|
clip_scroll_selection(line_count);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef FEAT_GUI_HAIKU
|
||||||
|
vim_lock_screen();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef FEAT_GUI
|
#ifdef FEAT_GUI
|
||||||
// Don't update the GUI cursor here, ScreenLines[] is invalid until the
|
// Don't update the GUI cursor here, ScreenLines[] is invalid until the
|
||||||
// scrolling is actually carried out.
|
// scrolling is actually carried out.
|
||||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
632,
|
||||||
/**/
|
/**/
|
||||||
631,
|
631,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user