Mercurial > vim
changeset 1394:1002128c68db v7.1.109
updated for version 7.1-109
author | vimboss |
---|---|
date | Sat, 15 Sep 2007 12:07:46 +0000 |
parents | b4791bb4fbff |
children | c845dcf7fafa |
files | src/gui_gtk_x11.c src/term.c src/version.c |
diffstat | 3 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -3223,8 +3223,9 @@ on_tabline_menu(GtkWidget *widget, GdkEv { if (clicked_page == 0) { - /* Click after all tabs moves to next tab page. */ - if (send_tabline_event(0) && gtk_main_level() > 0) + /* Click after all tabs moves to next tab page. When "x" is + * small guess it's the left button. */ + if (send_tabline_event(x < 50 ? -1 : 0) && gtk_main_level() > 0) gtk_main_quit(); } #ifndef HAVE_GTK2