diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2017-10-31 12:37:50 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2017-12-14 01:05:48 +0100 |
commit | ea216accd7b136a5537e567fce7a165cb41cf9c0 (patch) | |
tree | d7846b1485765034ed37b830c27a202eda5a06d1 /gdk/gdkevents.h | |
parent | a040ed55ccefa7c749d668025963082848c6148c (diff) | |
download | gtk+-ea216accd7b136a5537e567fce7a165cb41cf9c0.tar.gz |
gdk: Implement motion history as motion event data
In the motion compression phase the coalesced events will be saved
as a GdkTimeCoord on the motion event that shall be delivered.
For simplicity (and because history doesn't make much sense otherwise)
event history is only recorded while there are buttons pressed, this
also tidily ensures that those coalesced events would have the same
target widget on the gtk side than the delivered one, because of
implicit grabs.
Diffstat (limited to 'gdk/gdkevents.h')
-rw-r--r-- | gdk/gdkevents.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h index db4b779e34..65a00cc494 100644 --- a/gdk/gdkevents.h +++ b/gdk/gdkevents.h @@ -716,6 +716,7 @@ GDK_AVAILABLE_IN_3_92 gboolean gdk_event_get_axes (GdkEvent *event, gdouble **axes, guint *n_axes); +GList * gdk_event_get_history (const GdkEvent *event); G_END_DECLS |