summaryrefslogtreecommitdiff
path: root/gdk/broadway/gdkdnd-broadway.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-12-07 13:47:45 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-12-13 10:39:43 -0500
commit268c7a3e44bbedd71f93b9456f91e0116b79dc71 (patch)
treec989fa00bab8b4c6fd2ef3903c3ae1cf4108659c /gdk/broadway/gdkdnd-broadway.c
parenteb97ef05146debfb37821e93d33e4375a6f9d1ed (diff)
downloadgtk+-268c7a3e44bbedd71f93b9456f91e0116b79dc71.tar.gz
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.
Diffstat (limited to 'gdk/broadway/gdkdnd-broadway.c')
-rw-r--r--gdk/broadway/gdkdnd-broadway.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdk/broadway/gdkdnd-broadway.c b/gdk/broadway/gdkdnd-broadway.c
index 06dcd8f945..042a0cd65b 100644
--- a/gdk/broadway/gdkdnd-broadway.c
+++ b/gdk/broadway/gdkdnd-broadway.c
@@ -87,7 +87,9 @@ gdk_broadway_drag_context_finalize (GObject *object)
GdkDragContext *
_gdk_broadway_window_drag_begin (GdkWindow *window,
GdkDevice *device,
- GList *targets)
+ GList *targets,
+ gint x_root,
+ gint y_root)
{
GdkDragContext *new_context;