diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-02-16 02:20:34 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-21 00:51:02 -0500 |
commit | e54e48f6d16f2053ab22895ed44fab84c6a0a64d (patch) | |
tree | 63eec81b2baf84d81fb96e1357a53bf4aa95efb8 /gtk/gtkeventcontroller.h | |
parent | b38869b3aa062ebe56bd23b4824da720fac56ee9 (diff) | |
download | gtk+-e54e48f6d16f2053ab22895ed44fab84c6a0a64d.tar.gz |
Explicitly pass the target to handle_event
Pass the event propagation target explicitly down to
the event controllers. This is a step towards getting
rid of gdk_event_set_target.
Diffstat (limited to 'gtk/gtkeventcontroller.h')
-rw-r--r-- | gtk/gtkeventcontroller.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkeventcontroller.h b/gtk/gtkeventcontroller.h index 1c60d96e77..2ca16342a7 100644 --- a/gtk/gtkeventcontroller.h +++ b/gtk/gtkeventcontroller.h @@ -77,6 +77,7 @@ GtkWidget * gtk_event_controller_get_widget (GtkEventController *controller GDK_AVAILABLE_IN_ALL gboolean gtk_event_controller_handle_event (GtkEventController *controller, const GdkEvent *event, + GtkWidget *target, double x, double y); GDK_AVAILABLE_IN_ALL |