diff options
author | Benjamin Otte <otte@redhat.com> | 2018-06-14 02:47:56 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-06-18 23:49:52 +0200 |
commit | dd30a288f2e92b342790e7b2c5aebfba743e8073 (patch) | |
tree | 589fa5e28aa952e11975350853fd7cda0c67fbc6 /gdk/x11/gdkprivate-x11.h | |
parent | 005781021e4f210653979fa1be9dc7b8965ce2ec (diff) | |
download | gtk+-dd30a288f2e92b342790e7b2c5aebfba743e8073.tar.gz |
x11: Split drag and drop contexts
While doing so, turn the drop context into a GdkDrop subclass and no
longer pretend to be a GdkDragContext.
Diffstat (limited to 'gdk/x11/gdkprivate-x11.h')
-rw-r--r-- | gdk/x11/gdkprivate-x11.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gdk/x11/gdkprivate-x11.h b/gdk/x11/gdkprivate-x11.h index e6bfd2bd82..e9014ee8b1 100644 --- a/gdk/x11/gdkprivate-x11.h +++ b/gdk/x11/gdkprivate-x11.h @@ -197,10 +197,16 @@ Atom _gdk_x11_get_xatom_for_display_printf (GdkDisplay *display, const gchar *format, ...) G_GNUC_PRINTF (2, 3); -GdkFilterReturn -_gdk_x11_dnd_filter (const XEvent *xevent, - GdkEvent *event, - gpointer data); +GdkDragContext *gdk_x11_drag_context_find (GdkDisplay *display, + Window source_xid, + Window dest_xid); +void gdk_x11_drag_context_handle_status (GdkDisplay *display, + const XEvent *xevent); +void gdk_x11_drag_context_handle_finished (GdkDisplay *display, + const XEvent *xevent); +void gdk_x11_drop_read_actions (GdkDrop *drop); +gboolean gdk_x11_drop_filter (GdkSurface *surface, + const XEvent *xevent); typedef struct _GdkSurfaceCache GdkSurfaceCache; |