updated for version 7.0f02
diff --git a/src/gui.c b/src/gui.c
index 4006891..9a69a09 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -3507,14 +3507,19 @@
if (nr == tabpage_index(curtab))
return FALSE;
+
+ /* Don't put events in the input queue now. */
+ if (hold_gui_events
# ifdef FEAT_CMDWIN
- if (cmdwin_type != 0)
+ || cmdwin_type != 0
+# endif
+ )
{
/* Set it back to the current tab page. */
gui_mch_set_curtab(tabpage_index(curtab));
return FALSE;
}
-# endif
+
string[0] = CSI;
string[1] = KS_TABLINE;
string[2] = KE_FILLER;
@@ -3534,6 +3539,10 @@
{
char_u string[3];
+ /* Don't put events in the input queue now. */
+ if (hold_gui_events)
+ return;
+
string[0] = CSI;
string[1] = KS_TABMENU;
string[2] = KE_FILLER;