diff options
author | Maks Naumov <maksqwe1@ukr.net> | 2015-01-11 14:54:27 -0800 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-01-17 16:29:17 -0500 |
commit | 6113504495fb68146fca644de975650e46e818a4 (patch) | |
tree | 41e48346ecfc0ad2f655abc5906d98b0adf37c46 | |
parent | 9f51d8948fe0aef65e266ed06a6dc58807c43123 (diff) | |
download | gtk+-6113504495fb68146fca644de975650e46e818a4.tar.gz |
Fix event->button.y_root when using mouse buttons and dnd canceled
Signed-off-by: Maks Naumov <maksqwe1@ukr.net>
https://bugzilla.gnome.org/show_bug.cgi?id=742785
-rw-r--r-- | gdk/wayland/gdkdnd-wayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/wayland/gdkdnd-wayland.c b/gdk/wayland/gdkdnd-wayland.c index 141434d6e7..39914c5a75 100644 --- a/gdk/wayland/gdkdnd-wayland.c +++ b/gdk/wayland/gdkdnd-wayland.c @@ -497,7 +497,7 @@ gdk_wayland_drag_context_undo_grab (GdkDragContext *context) event->button.button = button; event->button.time = GDK_CURRENT_TIME; event->button.x = event->button.x_root = x; - event->button.y = event->button.x_root = y; + event->button.y = event->button.y_root = y; } else return; |