Commit cad57a66 authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Arturo Espinosa

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.
parent e946fcf6
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
......
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
......
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
......
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
......
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
......
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
......
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment