mirror of
https://github.com/vim/vim.git
synced 2025-11-16 23:24:03 -05:00
patch 9.1.1430: tabpanel may flicker in the GUI
Problem: tabpanel may flicker in the GUI
Solution: call scroll_start() and scroll_region_reset()
(Hirohito Higashi)
fixes: #17440
closes: #17442
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
c2c9132420
commit
862cb37544
@@ -6226,7 +6226,14 @@ shell_new_columns(void)
|
||||
|
||||
if (!skip_win_fix_scroll)
|
||||
win_fix_scroll(TRUE);
|
||||
|
||||
#ifdef FEAT_GUI
|
||||
if (gui.in_use)
|
||||
{
|
||||
if (scroll_region)
|
||||
scroll_region_reset();
|
||||
scroll_start(); // may scroll the screen to the right position
|
||||
}
|
||||
#endif
|
||||
redraw_tabline = TRUE;
|
||||
#if defined(FEAT_TABPANEL)
|
||||
redraw_tabpanel = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user