diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-09-15 12:07:46 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-09-15 12:07:46 +0000 |
commit | 073545473f4b40c45b84f699a6abfc29119adede (patch) | |
tree | 082ae9809702e0c7957b565ac90951d77b2eeb03 /src/gui_gtk_x11.c | |
parent | 5365c4d5905a5d233c5609ce9bef9eafa4f43b02 (diff) | |
download | vim-git-073545473f4b40c45b84f699a6abfc29119adede.tar.gz |
updated for version 7.1-109v7.1.109
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r-- | src/gui_gtk_x11.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index c5b112856..f37410643 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -3223,8 +3223,9 @@ on_tabline_menu(GtkWidget *widget, GdkEvent *event) { 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 |