mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
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)
This commit is contained in:
parent
85d8c33706
commit
cf56667494
13
ChangeLog
13
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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user