comparison src/gui.c @ 844:d3bbb5dd3913 v7.0f02

updated for version 7.0f02
author vimboss
date Thu, 27 Apr 2006 00:02:13 +0000
parents 9f279ebda751
children f4d8553715f7
comparison
equal deleted inserted replaced
843:9f279ebda751 844:d3bbb5dd3913
3505 { 3505 {
3506 char_u string[3]; 3506 char_u string[3];
3507 3507
3508 if (nr == tabpage_index(curtab)) 3508 if (nr == tabpage_index(curtab))
3509 return FALSE; 3509 return FALSE;
3510
3511 /* Don't put events in the input queue now. */
3512 if (hold_gui_events
3510 # ifdef FEAT_CMDWIN 3513 # ifdef FEAT_CMDWIN
3511 if (cmdwin_type != 0) 3514 || cmdwin_type != 0
3515 # endif
3516 )
3512 { 3517 {
3513 /* Set it back to the current tab page. */ 3518 /* Set it back to the current tab page. */
3514 gui_mch_set_curtab(tabpage_index(curtab)); 3519 gui_mch_set_curtab(tabpage_index(curtab));
3515 return FALSE; 3520 return FALSE;
3516 } 3521 }
3517 # endif 3522
3518 string[0] = CSI; 3523 string[0] = CSI;
3519 string[1] = KS_TABLINE; 3524 string[1] = KS_TABLINE;
3520 string[2] = KE_FILLER; 3525 string[2] = KE_FILLER;
3521 add_to_input_buf(string, 3); 3526 add_to_input_buf(string, 3);
3522 string[0] = nr; 3527 string[0] = nr;
3531 send_tabline_menu_event(tabidx, event) 3536 send_tabline_menu_event(tabidx, event)
3532 int tabidx; 3537 int tabidx;
3533 int event; 3538 int event;
3534 { 3539 {
3535 char_u string[3]; 3540 char_u string[3];
3541
3542 /* Don't put events in the input queue now. */
3543 if (hold_gui_events)
3544 return;
3536 3545
3537 string[0] = CSI; 3546 string[0] = CSI;
3538 string[1] = KS_TABMENU; 3547 string[1] = KS_TABMENU;
3539 string[2] = KE_FILLER; 3548 string[2] = KE_FILLER;
3540 add_to_input_buf(string, 3); 3549 add_to_input_buf(string, 3);