forked from AuroraMiddleware/gtk
gesture: Actually track targets
Due to a mismerge, this wasn't actually working, and was causing criticals from gtk_widget_has_grab when dragging windows.
This commit is contained in:
parent
fa75d7f480
commit
dcbecdac31
@ -501,6 +501,7 @@ _gtk_gesture_update_point (GtkGesture *gesture,
|
||||
gdk_event_unref (data->event);
|
||||
|
||||
data->event = gdk_event_ref ((GdkEvent *)event);
|
||||
data->target = g_object_ref (target);
|
||||
_update_touchpad_deltas (data);
|
||||
data->widget_x = x + data->accum_dx;
|
||||
data->widget_y = y + data->accum_dy;
|
||||
|
Loading…
Reference in New Issue
Block a user