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.)
This commit is contained in:
parent
325e571a3f
commit
ddfd42fbb3
@ -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:42:40 2002 Kristian Rietveld <kris@gtk.org>
|
Thu Jun 13 16:42:40 2002 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
|
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
|
||||||
|
@ -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:42:40 2002 Kristian Rietveld <kris@gtk.org>
|
Thu Jun 13 16:42:40 2002 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
|
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
|
||||||
|
@ -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:42:40 2002 Kristian Rietveld <kris@gtk.org>
|
Thu Jun 13 16:42:40 2002 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
|
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
|
||||||
|
@ -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:42:40 2002 Kristian Rietveld <kris@gtk.org>
|
Thu Jun 13 16:42:40 2002 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
|
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
|
||||||
|
@ -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:42:40 2002 Kristian Rietveld <kris@gtk.org>
|
Thu Jun 13 16:42:40 2002 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
|
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
|
||||||
|
@ -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:42:40 2002 Kristian Rietveld <kris@gtk.org>
|
Thu Jun 13 16:42:40 2002 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
|
* gtk/gtktreestore.c (gtk_tree_store_finalize): traverse all nodes,
|
||||||
|
@ -94,6 +94,7 @@ struct _GtkDragSourceInfo
|
|||||||
gint start_x, start_y; /* Initial position */
|
gint start_x, start_y; /* Initial position */
|
||||||
gint cur_x, cur_y; /* Current Position */
|
gint cur_x, cur_y; /* Current Position */
|
||||||
|
|
||||||
|
guint32 grab_time; /* timestamp for initial grab */
|
||||||
GList *selections; /* selections we've claimed */
|
GList *selections; /* selections we've claimed */
|
||||||
|
|
||||||
GtkDragDestInfo *proxy_dest; /* Set if this is a proxy drag */
|
GtkDragDestInfo *proxy_dest; /* Set if this is a proxy drag */
|
||||||
@ -1903,6 +1904,7 @@ gtk_drag_begin (GtkWidget *widget,
|
|||||||
}
|
}
|
||||||
|
|
||||||
info->have_grab = TRUE;
|
info->have_grab = TRUE;
|
||||||
|
info->grab_time = time;
|
||||||
|
|
||||||
return info->context;
|
return info->context;
|
||||||
}
|
}
|
||||||
@ -2474,7 +2476,7 @@ _gtk_drag_source_handle_event (GtkWidget *widget,
|
|||||||
GDK_POINTER_MOTION_HINT_MASK |
|
GDK_POINTER_MOTION_HINT_MASK |
|
||||||
GDK_BUTTON_RELEASE_MASK,
|
GDK_BUTTON_RELEASE_MASK,
|
||||||
NULL,
|
NULL,
|
||||||
cursor, event->dnd.time);
|
cursor, info->grab_time);
|
||||||
info->cursor = cursor;
|
info->cursor = cursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user