[gtk/matthiasc/for-master: 88/88] gesture: Actually track targets
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 88/88] gesture: Actually track targets
- Date: Wed, 26 Feb 2020 22:08:17 +0000 (UTC)
commit dcbecdac31181854451e41289c417ee900e8d7e9
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Feb 26 17:06:15 2020 -0500
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.
gtk/gtkgesture.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkgesture.c b/gtk/gtkgesture.c
index 6ae3736011..9783373343 100644
--- a/gtk/gtkgesture.c
+++ b/gtk/gtkgesture.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]