summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-06-09 20:29:16 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-06-09 20:29:16 +0000
commitcf566674949b5448f90178431f142bcf6c11246f (patch)
tree5c5330bb2f46dace1c7c80594daa9241336b3d7d
parent85d8c337065718aa9de9cbf03c693d72abbe374d (diff)
downloadgdk-pixbuf-cf566674949b5448f90178431f142bcf6c11246f.tar.gz
Back out event->window test - it wasn't needed because of the call to
Mon Jun 9 16:18:11 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.c (gtk_notebook_button_press): Back out event->window test - it wasn't needed because of the call to get_widget_coordinates(). * gtk/gtknotebook.c (gtk_notebook_button_press): Remove call to gtk_widget_grab_focus() when not clicking on any tabs. (Real fix for #114534)
-rw-r--r--ChangeLog13
-rw-r--r--ChangeLog.pre-2-1013
-rw-r--r--ChangeLog.pre-2-413
-rw-r--r--ChangeLog.pre-2-613
-rw-r--r--ChangeLog.pre-2-813
-rw-r--r--gtk/gtknotebook.c5
6 files changed, 66 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f29f72f57..f07187b76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+Mon Jun 9 16:18:11 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press): Back
+ out event->window test - it wasn't needed because
+ of the call to get_widget_coordinates().
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press): Remove
+ call to gtk_widget_grab_focus() when not clicking on
+ any tabs. (Real fix for #114534)
+
Sun Jun 8 22:03:09 2003 Owen Taylor <otaylor@redhat.com>
* tests/testdnd.c: Use application/x-rootwindow-drop for
@@ -879,6 +889,9 @@ Mon Apr 7 19:43:15 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer):
Use gdk_x11_display_grab/ungrab.
+
+ * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize
+ use_xshm to TRUE so SHM gets used when present.
2003-04-07 Matthias Clasen <maclas@gmx.de>
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index f29f72f57..f07187b76 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,13 @@
+Mon Jun 9 16:18:11 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press): Back
+ out event->window test - it wasn't needed because
+ of the call to get_widget_coordinates().
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press): Remove
+ call to gtk_widget_grab_focus() when not clicking on
+ any tabs. (Real fix for #114534)
+
Sun Jun 8 22:03:09 2003 Owen Taylor <otaylor@redhat.com>
* tests/testdnd.c: Use application/x-rootwindow-drop for
@@ -879,6 +889,9 @@ Mon Apr 7 19:43:15 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer):
Use gdk_x11_display_grab/ungrab.
+
+ * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize
+ use_xshm to TRUE so SHM gets used when present.
2003-04-07 Matthias Clasen <maclas@gmx.de>
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index f29f72f57..f07187b76 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,13 @@
+Mon Jun 9 16:18:11 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press): Back
+ out event->window test - it wasn't needed because
+ of the call to get_widget_coordinates().
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press): Remove
+ call to gtk_widget_grab_focus() when not clicking on
+ any tabs. (Real fix for #114534)
+
Sun Jun 8 22:03:09 2003 Owen Taylor <otaylor@redhat.com>
* tests/testdnd.c: Use application/x-rootwindow-drop for
@@ -879,6 +889,9 @@ Mon Apr 7 19:43:15 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer):
Use gdk_x11_display_grab/ungrab.
+
+ * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize
+ use_xshm to TRUE so SHM gets used when present.
2003-04-07 Matthias Clasen <maclas@gmx.de>
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index f29f72f57..f07187b76 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,13 @@
+Mon Jun 9 16:18:11 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press): Back
+ out event->window test - it wasn't needed because
+ of the call to get_widget_coordinates().
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press): Remove
+ call to gtk_widget_grab_focus() when not clicking on
+ any tabs. (Real fix for #114534)
+
Sun Jun 8 22:03:09 2003 Owen Taylor <otaylor@redhat.com>
* tests/testdnd.c: Use application/x-rootwindow-drop for
@@ -879,6 +889,9 @@ Mon Apr 7 19:43:15 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer):
Use gdk_x11_display_grab/ungrab.
+
+ * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize
+ use_xshm to TRUE so SHM gets used when present.
2003-04-07 Matthias Clasen <maclas@gmx.de>
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index f29f72f57..f07187b76 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,13 @@
+Mon Jun 9 16:18:11 2003 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press): Back
+ out event->window test - it wasn't needed because
+ of the call to get_widget_coordinates().
+
+ * gtk/gtknotebook.c (gtk_notebook_button_press): Remove
+ call to gtk_widget_grab_focus() when not clicking on
+ any tabs. (Real fix for #114534)
+
Sun Jun 8 22:03:09 2003 Owen Taylor <otaylor@redhat.com>
* tests/testdnd.c: Use application/x-rootwindow-drop for
@@ -879,6 +889,9 @@ Mon Apr 7 19:43:15 2003 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer):
Use gdk_x11_display_grab/ungrab.
+
+ * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize
+ use_xshm to TRUE so SHM gets used when present.
2003-04-07 Matthias Clasen <maclas@gmx.de>
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index b88bc4ecf..ef27c777b 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -1704,8 +1704,7 @@ gtk_notebook_button_press (GtkWidget *widget,
gint num;
gint x, y;
- if (event->window != notebook->event_window ||
- event->type != GDK_BUTTON_PRESS || !notebook->children ||
+ if (event->type != GDK_BUTTON_PRESS || !notebook->children ||
notebook->button)
return FALSE;
@@ -1753,8 +1752,6 @@ gtk_notebook_button_press (GtkWidget *widget,
children = children->next;
num++;
}
- if (!children && !GTK_WIDGET_HAS_FOCUS (widget))
- gtk_widget_grab_focus (widget);
return TRUE;
}