mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
updated for version 7.4a.034
Problem: The tabline may flicker when opening a new tab after 7.3.759 on Win32. Solution: Move call to TabCtrl_SetCurSel(). (Ken Takata)
This commit is contained in:
@@ -2529,13 +2529,13 @@ gui_mch_update_tabline(void)
|
||||
while (nr < TabCtrl_GetItemCount(s_tabhwnd))
|
||||
TabCtrl_DeleteItem(s_tabhwnd, nr);
|
||||
|
||||
if (TabCtrl_GetCurSel(s_tabhwnd) != curtabidx)
|
||||
TabCtrl_SetCurSel(s_tabhwnd, curtabidx);
|
||||
|
||||
/* Re-enable redraw and redraw. */
|
||||
SendMessage(s_tabhwnd, WM_SETREDRAW, (WPARAM)TRUE, 0);
|
||||
RedrawWindow(s_tabhwnd, NULL, NULL,
|
||||
RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
|
||||
|
||||
if (TabCtrl_GetCurSel(s_tabhwnd) != curtabidx)
|
||||
TabCtrl_SetCurSel(s_tabhwnd, curtabidx);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@@ -727,6 +727,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
34,
|
||||
/**/
|
||||
33,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user