summaryrefslogtreecommitdiff
path: root/gdk/gdkwindow.c
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/gdkwindow.c
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/gdkwindow.c')
-rw-r--r--gdk/gdkwindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index d14558d72a..47ec729f2b 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -6928,8 +6928,8 @@ gdk_window_register_dnd (GdkWindow *window)
* @window: the source window for this drag
* @device: the device that controls this drag
* @formats: (transfer none): the offered formats
- * @x_root: the x coordinate where the drag nominally started
- * @y_root: the y coordinate where the drag nominally started
+ * @dx: the x offset to @device's position where the drag nominally started
+ * @dy: the y offset to @device's position where the drag nominally started
*
* Starts a drag and creates a new drag context for it.
*