make sure that gdk_drag_event() is called when track_motion is TRUE to

2006-03-23  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtkdnd.c (gtk_drag_dest_motion): make sure that gdk_drag_event()
        is called when track_motion is TRUE to receive drag_motion and
        drag_leave events properly.
This commit is contained in:
Carlos Garnacho 2006-03-23 14:39:56 +00:00 committed by Carlos Garnacho
parent bbd8b9a51c
commit efbac09061
3 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-03-23 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtkdnd.c (gtk_drag_dest_motion): make sure that gdk_drag_event()
is called when track_motion is TRUE to receive drag_motion and
drag_leave events properly.
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_remove): Emit the ::page-removed

View File

@ -1,3 +1,9 @@
2006-03-23 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtkdnd.c (gtk_drag_dest_motion): make sure that gdk_drag_event()
is called when track_motion is TRUE to receive drag_motion and
drag_leave events properly.
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_remove): Emit the ::page-removed

View File

@ -1985,7 +1985,7 @@ gtk_drag_dest_motion (GtkWidget *widget,
return TRUE;
}
if (site->flags & GTK_DEST_DEFAULT_MOTION)
if (site->track_motion || site->flags & GTK_DEST_DEFAULT_MOTION)
{
if (context->suggested_action & site->actions)
action = context->suggested_action;