Bug 688305: drag and drop for guides broken

This commit is contained in:
Massimo Valentini 2012-11-15 19:02:42 +01:00
parent f6f8079013
commit 67525c0d47
1 changed files with 1 additions and 4 deletions

View File

@ -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;