summaryrefslogtreecommitdiff
path: root/gdk/gdkdnd.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-08-06 17:03:52 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-08-06 17:03:52 +0000
commit39469f8f4abcf4b424186045baa80f067c312064 (patch)
tree9dac5ea10bf7967c78bb0a8cc60b3ea6e881f87d /gdk/gdkdnd.h
parentb65449a7e8e400e4ce674629cdacbfa6e3abb0f4 (diff)
downloadgtk+-39469f8f4abcf4b424186045baa80f067c312064.tar.gz
Really fix the initialization of the target list.
2004-08-06 Matthias Clasen <mclasen@redhat.com> * gtk/gtkdnd.c (gtk_drag_dest_set, gtk_drag_source_set): Really fix the initialization of the target list. Support XDND v5. (#10220, Owen Taylor) * gdk/x11/gdkdnd-x11.c: Record the XDND version and whether the drop was successful in the GdkDragContextPrivateX11 struct. (xdnd_finished_filter): Store the success status of the drop for an XDND version 5 interaction. For other versions, always assume the drop was successful. (xdnd_check_dest): Return the protocol version. (_gdk_drag_get_protocol_for_display): Return the protocol version. (gdk_drag_find_window_for_screen): Store the used protocol version in the GdkDragContext. (xdnd_send_enter): Send the used protocol version from the context, instead of hardwiring 3. (xdnd_enter_filter): Accept protocol versions >= 3 and store the used protocol version in the context. * gdk/gdkdnd.h: * gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): New function to find out whether a drop was successful.
Diffstat (limited to 'gdk/gdkdnd.h')
-rw-r--r--gdk/gdkdnd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkdnd.h b/gdk/gdkdnd.h
index 3954c0d130..4a9dd32498 100644
--- a/gdk/gdkdnd.h
+++ b/gdk/gdkdnd.h
@@ -136,6 +136,7 @@ void gdk_drag_drop (GdkDragContext *context,
guint32 time_);
void gdk_drag_abort (GdkDragContext *context,
guint32 time_);
+gboolean gdk_drag_drop_succeeded (GdkDragContext *context);
#ifdef __cplusplus
}