diff options
author | Benjamin Otte <otte@redhat.com> | 2017-12-11 00:55:56 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-12-11 01:02:31 +0100 |
commit | 218efa62ef7e7ee20ca70c8c0735400684561838 (patch) | |
tree | d9440ef2b2ced1c6c4ef2f187012dc0664f0729b /gdk/gdkwindow.c | |
parent | a7c3c794df0fa9eee47fea499f7daef48a05c167 (diff) | |
download | gtk+-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.c | 4 |
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. * |