diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2006-03-23 14:39:56 +0000 |
---|---|---|
committer | Carlos Garnacho <carlosg@src.gnome.org> | 2006-03-23 14:39:56 +0000 |
commit | efbac0906142738366f4264f65987a180f8869be (patch) | |
tree | 611416f138410594ae0493274f27943a08524c52 | |
parent | bbd8b9a51c3c581e914d907679dab8194fdb35bc (diff) | |
download | gdk-pixbuf-efbac0906142738366f4264f65987a180f8869be.tar.gz |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | gtk/gtkdnd.c | 2 |
3 files changed, 13 insertions, 1 deletions
@@ -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 diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 730d65cd3..7768fa11b 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -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 diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index 4ab402dcf..ca55e2d85 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -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; |