diff options
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtknotebook.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index e0d27da7f..d69a34cbc 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -1595,6 +1595,9 @@ gtk_notebook_button_press (GtkWidget *widget, return TRUE; } + if (event->button != 1) + return FALSE; + num = 0; children = notebook->children; while (children) |