summaryrefslogtreecommitdiffstats
path: root/src/gui_gtk_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-09-15 12:07:46 +0000
committerBram Moolenaar <Bram@vim.org>2007-09-15 12:07:46 +0000
commit073545473f4b40c45b84f699a6abfc29119adede (patch)
tree082ae9809702e0c7957b565ac90951d77b2eeb03 /src/gui_gtk_x11.c
parent5365c4d5905a5d233c5609ce9bef9eafa4f43b02 (diff)
updated for version 7.1-109v7.1.109
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r--src/gui_gtk_x11.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index c5b1128563..f37410643d 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