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/wayland | |
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/wayland')
-rw-r--r-- | gdk/wayland/gdkdnd-wayland.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/wayland/gdkdnd-wayland.c b/gdk/wayland/gdkdnd-wayland.c index b64f487738..ea1b6ef3a1 100644 --- a/gdk/wayland/gdkdnd-wayland.c +++ b/gdk/wayland/gdkdnd-wayland.c @@ -586,8 +586,8 @@ GdkDragContext * _gdk_wayland_window_drag_begin (GdkWindow *window, GdkDevice *device, GdkContentFormats *formats, - gint x_root, - gint y_root) + gint dx, + gint dy) { GdkWaylandDragContext *context_wayland; GdkDragContext *context; |