summaryrefslogtreecommitdiff
path: root/src/gui_w48.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_w48.c')
-rw-r--r--src/gui_w48.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui_w48.c b/src/gui_w48.c
index 44d03d067..8fa049a9a 100644
--- a/src/gui_w48.c
+++ b/src/gui_w48.c
@@ -2209,6 +2209,14 @@ show_tabline_popup_menu(void)
long rval;
POINT pt;
+ /* When ignoring events don't show the menu. */
+ if (hold_gui_events
+# ifdef FEAT_CMDWIN
+ || cmdwin_type != 0
+# endif
+ )
+ return;
+
tab_pmenu = CreatePopupMenu();
if (tab_pmenu == NULL)
return;