gdk: Allow passing the start coordinates in drag_begin

Add a variant of gdk_drag_begin that takes the start position
in addition to the device. All backend implementation have been
updated to accept (and ignore) the new arguments.

Subsequent commits will make use of the data in some backends.
This commit is contained in:
Matthias Clasen
2015-12-07 13:47:45 -05:00
parent eb97ef0514
commit 268c7a3e44
14 changed files with 74 additions and 16 deletions

View File

@ -375,7 +375,9 @@ create_dnd_window (GdkScreen *screen)
GdkDragContext *
_gdk_wayland_window_drag_begin (GdkWindow *window,
GdkDevice *device,
GList *targets)
GList *targets,
gint x_root,
gint y_root)
{
GdkWaylandDragContext *context_wayland;
GdkWaylandDisplay *display_wayland;