]> Pileus Git - ~andy/gtk/commitdiff
Ignore button presses that are not on the tab (#114534).
authorNoah Levitt <nlevitt@columbia.edu>
Fri, 6 Jun 2003 02:00:45 +0000 (02:00 +0000)
committerNoah Levitt <nlevitt@src.gnome.org>
Fri, 6 Jun 2003 02:00:45 +0000 (02:00 +0000)
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).

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtknotebook.c

index e3528b2dcb65e6f44458e189ce234c9faec512fb..267e8ab01c81d1f65229aa93d9be99c839b14b57 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 deendencies for
index e3528b2dcb65e6f44458e189ce234c9faec512fb..267e8ab01c81d1f65229aa93d9be99c839b14b57 100644 (file)
@@ -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 deendencies for
index e3528b2dcb65e6f44458e189ce234c9faec512fb..267e8ab01c81d1f65229aa93d9be99c839b14b57 100644 (file)
@@ -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 deendencies for
index e3528b2dcb65e6f44458e189ce234c9faec512fb..267e8ab01c81d1f65229aa93d9be99c839b14b57 100644 (file)
@@ -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 deendencies for
index e3528b2dcb65e6f44458e189ce234c9faec512fb..267e8ab01c81d1f65229aa93d9be99c839b14b57 100644 (file)
@@ -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 deendencies for
index 92c9b6d970e10c4d8e5c3583d3a89860e33c6c3b..b88bc4ecf1a4301881c4d942b3f5ad95e647bea3 100644 (file)
@@ -1704,7 +1704,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;