diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-27 00:02:13 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-27 00:02:13 +0000 |
commit | f193fffd16563cfbe7c02a21e19c8bb11707581d (patch) | |
tree | 4bae3092421aa986103b8000b1012989a9ea49e6 /src/gui.c | |
parent | 551dbcc9b604c2992f908fb475e797fcc116315b (diff) |
updated for version 7.0f02v7.0f02
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -3507,14 +3507,19 @@ send_tabline_event(nr) 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 @@ send_tabline_menu_event(tabidx, event) { 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; |