[gimp/gimp-2-8] Bug 688305: drag and drop for guides broken



commit 9c368595116da409280a07394587e65cc8d13290
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Thu Nov 15 19:02:43 2012 +0100

    Bug 688305: drag and drop for guides broken

 libgimpwidgets/gimpruler.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/libgimpwidgets/gimpruler.c b/libgimpwidgets/gimpruler.c
index 7034fa6..d337b81 100644
--- a/libgimpwidgets/gimpruler.c
+++ b/libgimpwidgets/gimpruler.c
@@ -735,8 +735,7 @@ gimp_ruler_realize (GtkWidget *widget)
   attributes.wclass      = GDK_INPUT_ONLY;
   attributes.event_mask  = (gtk_widget_get_events (widget) |
                             GDK_EXPOSURE_MASK              |
-                            GDK_POINTER_MOTION_MASK        |
-                            GDK_POINTER_MOTION_HINT_MASK);
+                            GDK_POINTER_MOTION_MASK);
 
   attributes_mask = GDK_WA_X | GDK_WA_Y;
 
@@ -867,8 +866,6 @@ gimp_ruler_motion_notify (GtkWidget      *widget,
 {
   GimpRuler *ruler = GIMP_RULER (widget);
 
-  gdk_event_request_motions (event);
-
   gimp_ruler_update_position (ruler, event->x, event->y);
 
   return FALSE;



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