summaryrefslogtreecommitdiff
path: root/gdk/quartz
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-12-11 00:55:56 +0100
committerBenjamin Otte <otte@redhat.com>2017-12-11 01:02:31 +0100
commit218efa62ef7e7ee20ca70c8c0735400684561838 (patch)
treed9440ef2b2ced1c6c4ef2f187012dc0664f0729b /gdk/quartz
parenta7c3c794df0fa9eee47fea499f7daef48a05c167 (diff)
downloadgtk+-218efa62ef7e7ee20ca70c8c0735400684561838.tar.gz
dnd: Pass dx/dy instead of x_root/y_root
This way, we don't need root coordinates when computing the dnd start position.
Diffstat (limited to 'gdk/quartz')
-rw-r--r--gdk/quartz/gdkdnd-quartz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/quartz/gdkdnd-quartz.c b/gdk/quartz/gdkdnd-quartz.c
index fc9c338ca2..21438481b4 100644
--- a/gdk/quartz/gdkdnd-quartz.c
+++ b/gdk/quartz/gdkdnd-quartz.c
@@ -36,8 +36,8 @@ GdkDragContext *
_gdk_quartz_window_drag_begin (GdkWindow *window,
GdkDevice *device,
GList *targets,
- gint x_root,
- gint y_root)
+ gint dx,
+ gint dy)
{
g_assert (_gdk_quartz_drag_source_context == NULL);