[gtk+/gtk-3-14] Fix event->button.y_root when using mouse buttons and dnd canceled
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] Fix event->button.y_root when using mouse buttons and dnd canceled
- Date: Sat, 31 Jan 2015 16:25:56 +0000 (UTC)
commit 6ea86ef1c734bc806090dc5bce1f1ea699efb5bb
Author: Maks Naumov <maksqwe1 ukr net>
Date: Sun Jan 11 14:54:27 2015 -0800
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
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 e04e1ce..ec38efc 100644
--- a/gdk/wayland/gdkdnd-wayland.c
+++ b/gdk/wayland/gdkdnd-wayland.c
@@ -494,7 +494,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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]