[gtk+] Fix event->button.y_root when using mouse buttons and dnd canceled



commit 6113504495fb68146fca644de975650e46e818a4
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 141434d..39914c5 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]