forked from aniani/vim
updated for version 7.1-109
This commit is contained in:
@@ -3223,8 +3223,9 @@ on_tabline_menu(GtkWidget *widget, GdkEvent *event)
|
|||||||
{
|
{
|
||||||
if (clicked_page == 0)
|
if (clicked_page == 0)
|
||||||
{
|
{
|
||||||
/* Click after all tabs moves to next tab page. */
|
/* Click after all tabs moves to next tab page. When "x" is
|
||||||
if (send_tabline_event(0) && gtk_main_level() > 0)
|
* small guess it's the left button. */
|
||||||
|
if (send_tabline_event(x < 50 ? -1 : 0) && gtk_main_level() > 0)
|
||||||
gtk_main_quit();
|
gtk_main_quit();
|
||||||
}
|
}
|
||||||
#ifndef HAVE_GTK2
|
#ifndef HAVE_GTK2
|
||||||
|
@@ -4809,6 +4809,8 @@ check_termcode(max_offset, buf, buflen)
|
|||||||
if (num_bytes == -1)
|
if (num_bytes == -1)
|
||||||
return -1;
|
return -1;
|
||||||
current_tab = (int)bytes[0];
|
current_tab = (int)bytes[0];
|
||||||
|
if (current_tab == 255) /* -1 in a byte gives 255 */
|
||||||
|
current_tab = -1;
|
||||||
slen += num_bytes;
|
slen += num_bytes;
|
||||||
}
|
}
|
||||||
else if (key_name[0] == (int)KS_TABMENU)
|
else if (key_name[0] == (int)KS_TABMENU)
|
||||||
|
@@ -666,6 +666,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
109,
|
||||||
/**/
|
/**/
|
||||||
108,
|
108,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user