forked from AuroraMiddleware/gtk
Do not do anything if the event's window is not the bin window.
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx> * gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do anything if the event's window is not the bin window. (gtk_handle_box_motion): Likewise.
This commit is contained in:
parent
e946fcf69d
commit
cad57a6686
@ -1,3 +1,9 @@
|
||||
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
|
||||
anything if the event's window is not the bin window.
|
||||
(gtk_handle_box_motion): Likewise.
|
||||
|
||||
1998-08-19 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gtk/testgtk.c (create_color_preview): pushed the colormap and
|
||||
|
@ -1,3 +1,9 @@
|
||||
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
|
||||
anything if the event's window is not the bin window.
|
||||
(gtk_handle_box_motion): Likewise.
|
||||
|
||||
1998-08-19 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gtk/testgtk.c (create_color_preview): pushed the colormap and
|
||||
|
@ -1,3 +1,9 @@
|
||||
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
|
||||
anything if the event's window is not the bin window.
|
||||
(gtk_handle_box_motion): Likewise.
|
||||
|
||||
1998-08-19 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gtk/testgtk.c (create_color_preview): pushed the colormap and
|
||||
|
@ -1,3 +1,9 @@
|
||||
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
|
||||
anything if the event's window is not the bin window.
|
||||
(gtk_handle_box_motion): Likewise.
|
||||
|
||||
1998-08-19 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gtk/testgtk.c (create_color_preview): pushed the colormap and
|
||||
|
@ -1,3 +1,9 @@
|
||||
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
|
||||
anything if the event's window is not the bin window.
|
||||
(gtk_handle_box_motion): Likewise.
|
||||
|
||||
1998-08-19 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gtk/testgtk.c (create_color_preview): pushed the colormap and
|
||||
|
@ -1,3 +1,9 @@
|
||||
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
|
||||
anything if the event's window is not the bin window.
|
||||
(gtk_handle_box_motion): Likewise.
|
||||
|
||||
1998-08-19 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gtk/testgtk.c (create_color_preview): pushed the colormap and
|
||||
|
@ -1,3 +1,9 @@
|
||||
1998-08-20 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Do not do
|
||||
anything if the event's window is not the bin window.
|
||||
(gtk_handle_box_motion): Likewise.
|
||||
|
||||
1998-08-19 Raph Levien <raph@gimp.org>
|
||||
|
||||
* gtk/testgtk.c (create_color_preview): pushed the colormap and
|
||||
|
@ -793,6 +793,9 @@ gtk_handle_box_button_changed (GtkWidget *widget,
|
||||
|
||||
hb = GTK_HANDLE_BOX (widget);
|
||||
|
||||
if (event->window != hb->bin_window)
|
||||
return FALSE;
|
||||
|
||||
event_handled = FALSE;
|
||||
if (event->button == 1 &&
|
||||
event->type == GDK_BUTTON_PRESS)
|
||||
@ -878,6 +881,9 @@ gtk_handle_box_motion (GtkWidget *widget,
|
||||
if (!hb->in_drag)
|
||||
return FALSE;
|
||||
|
||||
if (event->window != hb->bin_window)
|
||||
return FALSE;
|
||||
|
||||
ox = 0;
|
||||
oy = 0;
|
||||
gdk_window_get_origin (hb->float_window, &ox, &oy);
|
||||
|
Loading…
Reference in New Issue
Block a user