mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 8.1.1448: statusline is sometimes drawn on top of popup
Problem: Statusline is sometimes drawn on top of popup. Solution: Redraw popups after the statusline. (Naruhiko Nishino, closes #4468)
This commit is contained in:
22
src/screen.c
22
src/screen.c
@@ -823,7 +823,7 @@ update_screen(int type_arg)
|
||||
did_intro = TRUE;
|
||||
|
||||
#ifdef FEAT_TEXT_PROP
|
||||
// Display popup windows on top of the others.
|
||||
// Display popup windows on top of the windows.
|
||||
update_popups();
|
||||
#endif
|
||||
|
||||
@@ -987,6 +987,11 @@ update_debug_sign(buf_T *buf, linenr_T lnum)
|
||||
win_redr_status(wp, FALSE);
|
||||
}
|
||||
|
||||
#ifdef FEAT_TEXT_PROP
|
||||
// Display popup windows on top of the others.
|
||||
update_popups();
|
||||
#endif
|
||||
|
||||
update_finish();
|
||||
}
|
||||
#endif
|
||||
@@ -1211,6 +1216,11 @@ updateWindow(win_T *wp)
|
||||
)
|
||||
win_redr_status(wp, FALSE);
|
||||
|
||||
#ifdef FEAT_TEXT_PROP
|
||||
// Display popup windows on top of everything.
|
||||
update_popups();
|
||||
#endif
|
||||
|
||||
update_finish();
|
||||
}
|
||||
#endif
|
||||
@@ -6795,6 +6805,11 @@ redraw_statuslines(void)
|
||||
win_redr_status(wp, FALSE);
|
||||
if (redraw_tabline)
|
||||
draw_tabline();
|
||||
|
||||
#ifdef FEAT_TEXT_PROP
|
||||
// Display popup windows on top of the status lines.
|
||||
update_popups();
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(FEAT_WILDMENU) || defined(PROTO)
|
||||
@@ -11101,6 +11116,11 @@ showruler(int always)
|
||||
/* Redraw the tab pages line if needed. */
|
||||
if (redraw_tabline)
|
||||
draw_tabline();
|
||||
|
||||
#ifdef FEAT_TEXT_PROP
|
||||
// Display popup windows on top of everything.
|
||||
update_popups();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef FEAT_CMDL_INFO
|
||||
|
Reference in New Issue
Block a user