summaryrefslogtreecommitdiff
path: root/gdk/gdkdndprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-12-01 23:33:53 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-12-01 23:47:56 -0500
commitfff8297a50e23481d2df72d123f2a84e34a866be (patch)
tree2673b208cf45fc91e2d61c0c81e72b4cbf6f8df2 /gdk/gdkdndprivate.h
parentd46b67dc79485accfc1e06403ec38458a7d2836d (diff)
downloadgtk+-fff8297a50e23481d2df72d123f2a84e34a866be.tar.gz
Add gdk_drag_context_get_drag_window
This makes gdk_wayland_drag_context_get_dnd_window backend-independent API and adds an implementation for X11.
Diffstat (limited to 'gdk/gdkdndprivate.h')
-rw-r--r--gdk/gdkdndprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkdndprivate.h b/gdk/gdkdndprivate.h
index 90c3a20d4a..be1626fcbd 100644
--- a/gdk/gdkdndprivate.h
+++ b/gdk/gdkdndprivate.h
@@ -62,6 +62,7 @@ struct _GdkDragContextClass {
gboolean success,
guint32 time_);
gboolean (*drop_status) (GdkDragContext *context);
+ GdkWindow* (*get_drag_window) (GdkDragContext *context);
};
struct _GdkDragContext {
@@ -73,6 +74,7 @@ struct _GdkDragContext {
gboolean is_source;
GdkWindow *source_window;
GdkWindow *dest_window;
+ GdkWindow *drag_window;
GList *targets;
GdkDragAction actions;