Ignore button presses that are not on the tab (#114534).
2003-06-05 Noah Levitt <nlevitt@columbia.edu> * gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button presses that are not on the tab (#114534).
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2003-06-05 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button
|
||||
presses that are not on the tab (#114534).
|
||||
|
||||
Thu Jun 5 20:35:40 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* demos/Makefile.am: Conditionalize dependencies for
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2003-06-05 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button
|
||||
presses that are not on the tab (#114534).
|
||||
|
||||
Thu Jun 5 20:35:40 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* demos/Makefile.am: Conditionalize dependencies for
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2003-06-05 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button
|
||||
presses that are not on the tab (#114534).
|
||||
|
||||
Thu Jun 5 20:35:40 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* demos/Makefile.am: Conditionalize dependencies for
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2003-06-05 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button
|
||||
presses that are not on the tab (#114534).
|
||||
|
||||
Thu Jun 5 20:35:40 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* demos/Makefile.am: Conditionalize dependencies for
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
2003-06-05 Noah Levitt <nlevitt@columbia.edu>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button
|
||||
presses that are not on the tab (#114534).
|
||||
|
||||
Thu Jun 5 20:35:40 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* demos/Makefile.am: Conditionalize dependencies for
|
||||
|
||||
@@ -1617,7 +1617,8 @@ gtk_notebook_button_press (GtkWidget *widget,
|
||||
gint num;
|
||||
gint x, y;
|
||||
|
||||
if (event->type != GDK_BUTTON_PRESS || !notebook->children ||
|
||||
if (event->window != notebook->event_window ||
|
||||
event->type != GDK_BUTTON_PRESS || !notebook->children ||
|
||||
notebook->button)
|
||||
return FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user