diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-06-13 15:56:35 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-06-13 15:56:35 +0000 |
commit | 432d618f511e9fc8f7b840cf151c71b684104c8d (patch) | |
tree | b9e48ad5c3d38adea3f1ea986b68c8838ad28a7b | |
parent | ca8c78aecfd96eed8eea6b3d91a1806ff0c2a6c3 (diff) | |
download | gdk-pixbuf-432d618f511e9fc8f7b840cf151c71b684104c8d.tar.gz |
Save the initial grab time, use that when changing the pointer. (#83052,
Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save
the initial grab time, use that when changing the
pointer. (#83052, help from Dave Camp tracking it down.)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | gtk/gtkdnd.c | 4 |
7 files changed, 39 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save + the initial grab time, use that when changing the + pointer. (#83052, help from Dave Camp tracking it down.) + Thu Jun 13 16:36:40 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index fcedf55a1..65574d3d6 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save + the initial grab time, use that when changing the + pointer. (#83052, help from Dave Camp tracking it down.) + Thu Jun 13 16:36:40 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index fcedf55a1..65574d3d6 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save + the initial grab time, use that when changing the + pointer. (#83052, help from Dave Camp tracking it down.) + Thu Jun 13 16:36:40 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index fcedf55a1..65574d3d6 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save + the initial grab time, use that when changing the + pointer. (#83052, help from Dave Camp tracking it down.) + Thu Jun 13 16:36:40 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index fcedf55a1..65574d3d6 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save + the initial grab time, use that when changing the + pointer. (#83052, help from Dave Camp tracking it down.) + Thu Jun 13 16:36:40 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index fcedf55a1..65574d3d6 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Thu Jun 13 11:36:37 2002 Owen Taylor <otaylor@redhat.com> + + * gtk/gtkdnd.c (_gtk_drag_source_handle_event): Save + the initial grab time, use that when changing the + pointer. (#83052, help from Dave Camp tracking it down.) + Thu Jun 13 16:36:40 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes, diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index f05a65725..fb529567a 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -95,6 +95,7 @@ struct _GtkDragSourceInfo gint start_x, start_y; /* Initial position */ gint cur_x, cur_y; /* Current Position */ + guint32 grab_time; /* timestamp for initial grab */ GList *selections; /* selections we've claimed */ GtkDragDestInfo *proxy_dest; /* Set if this is a proxy drag */ @@ -1885,6 +1886,7 @@ gtk_drag_begin (GtkWidget *widget, } info->have_grab = TRUE; + info->grab_time = time; return info->context; } @@ -2448,7 +2450,7 @@ _gtk_drag_source_handle_event (GtkWidget *widget, GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_RELEASE_MASK, NULL, - cursor, event->dnd.time); + cursor, info->grab_time); info->cursor = cursor; } |