Commit 61135044 authored by Maks Naumov's avatar Maks Naumov Committed by Matthias Clasen

Fix event->button.y_root when using mouse buttons and dnd canceled

Signed-off-by: default avatarMaks Naumov <maksqwe1@ukr.net>

https://bugzilla.gnome.org/show_bug.cgi?id=742785
parent 9f51d894
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment