mutter/clutter
Emmanuele Bassi 277d86f654 Preserve ordering when placing synthetic events in the queue
When we are in the the event translation function sometimes we need to
synthesise events: the double and triple click events are synthetic events
placed on the queue after a sequence of events has been received, for
instance.

Until now, the events were placed on the queue after the translation from
the native events was successful. This led to a loss of ordering because
we put the synthesised event on the queue before the last event that
triggered it.

This patch puts the events on the queue before translating them, with a
"pending" flag set; if the translation sequence is completed then the flag
is removed - otherwise the event is removed from the queue altogether. The
queue manipulation functions have been modified to ignore the "pending"
flag when looking for events.

This patch also adds a private structure overlayed on the ClutterEvent
struct so that we can extend the events with private data without exposing
it in the public API.
2007-08-21 15:48:13 +00:00
..
cogl 2007-08-13 Matthew Allum <mallum@openedhand.com> 2007-08-13 20:48:01 +00:00
eglnative Merge clutter.git/threading branch 2007-08-08 10:20:14 +00:00
eglx Preserve ordering when placing synthetic events in the queue 2007-08-21 15:48:13 +00:00
glx Preserve ordering when placing synthetic events in the queue 2007-08-21 15:48:13 +00:00
pango Protect the G_DISABLE_CAST_CHECKS define 2007-08-07 14:21:10 +00:00
sdl Preserve ordering when placing synthetic events in the queue 2007-08-21 15:48:13 +00:00
clutter-actor.c Add checks on the reactive accessors 2007-08-15 19:50:31 +00:00
clutter-actor.h 2007-08-13 Matthew Allum <mallum@openedhand.com> 2007-08-13 20:48:01 +00:00
clutter-alpha.c Fix for the smoothstep alpha function 2007-08-15 13:29:43 +00:00
clutter-alpha.h More documentation fixes 2007-08-07 14:03:30 +00:00
clutter-backend.c Fix previous commit 2007-07-31 16:53:17 +00:00
clutter-backend.h 2007-07-31 Emmanuele Bassi <ebassi@openedhand.com> 2007-07-31 10:38:23 +00:00
clutter-behaviour-bspline.c Do not forget to initialise the priv pointer 2007-07-26 13:13:19 +00:00
clutter-behaviour-bspline.h Documentation updates 2007-06-01 10:00:35 +00:00
clutter-behaviour-depth.c 2007-08-06 Matthew Allum <mallum@openedhand.com> 2007-08-05 23:13:27 +00:00
clutter-behaviour-depth.h Match arguments, to make gtk-doc happy 2007-08-06 19:37:46 +00:00
clutter-behaviour-ellipse.c 2007-08-08 Emmanuele Bassi <ebassi@openedhand.com> 2007-08-08 23:23:18 +00:00
clutter-behaviour-ellipse.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-behaviour-opacity.c Fix for the smoothstep alpha function 2007-08-15 13:29:43 +00:00
clutter-behaviour-opacity.h 2006-11-15 Emmanuele Bassi <ebassi@openedhand.com> 2006-11-15 23:37:53 +00:00
clutter-behaviour-path.c 2007-05-31 Matthew Allum <mallum@openedhand.com> 2007-05-30 23:16:58 +00:00
clutter-behaviour-path.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-behaviour-rotate.c Fix clutter_behaviour_rotate_get_center() 2007-08-18 12:39:36 +00:00
clutter-behaviour-rotate.h Add a header for common types to avoid inclusion hell 2007-07-26 13:13:23 +00:00
clutter-behaviour-scale.c 2007-07-25 Matthew Allum <mallum@openedhand.com> 2007-07-25 22:09:53 +00:00
clutter-behaviour-scale.h Add a header for common types to avoid inclusion hell 2007-07-26 13:13:23 +00:00
clutter-behaviour.c Fix various compiler warnings 2007-07-26 11:04:04 +00:00
clutter-behaviour.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-box.c Implement ::raise(), ::lower() and ::sort_depth_order() in ClutterBox 2007-08-13 17:01:30 +00:00
clutter-box.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-clone-texture.c Fix various compiler warnings 2007-07-26 11:04:04 +00:00
clutter-clone-texture.h 2006-12-12 Emmanuele Bassi <ebassi@openedhand.com> 2006-12-12 20:20:04 +00:00
clutter-color.c 2007-08-02 Emmanuele Bassi <ebassi@openedhand.com> 2007-08-02 07:40:58 +00:00
clutter-color.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-container.c Rename ClutterContainer raise() and lower() methods to avoid clashes 2007-08-14 08:01:33 +00:00
clutter-container.h Rename ClutterContainer raise() and lower() methods to avoid clashes 2007-08-14 08:01:33 +00:00
clutter-debug.h 2007-06-08 Matthew Allum <mallum@openedhand.com> 2007-06-07 23:51:53 +00:00
clutter-effect.c No need to unref the ClutterAlpha in the effect closure 2007-08-19 17:06:54 +00:00
clutter-effect.h Add clutter_effect_depth(), simple wrapper around the depth behaviour 2007-08-15 19:50:16 +00:00
clutter-entry.c Do not mask index in ClutterEntry 2007-08-07 14:07:39 +00:00
clutter-entry.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-enum-types.c.in 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com> 2007-08-20 20:16:15 +00:00
clutter-enum-types.h.in 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com> 2007-08-20 20:16:15 +00:00
clutter-event.c Preserve ordering when placing synthetic events in the queue 2007-08-21 15:48:13 +00:00
clutter-event.h 2007-08-13 Matthew Allum <mallum@openedhand.com> 2007-08-13 20:48:01 +00:00
clutter-feature.c 2007-06-07 Emmanuele Bassi <ebassi@openedhand.com> 2007-06-07 15:28:59 +00:00
clutter-feature.h 2007-07-26 Matthew Allum <mallum@openedhand.com> 2007-07-26 20:08:09 +00:00
clutter-fixed.c Fixes for 64-bit platforms; use of SSE builtin when available (patches by Gwenole Beauchesne). 2007-08-21 09:25:09 +00:00
clutter-fixed.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-group.c Rename ClutterContainer raise() and lower() methods to avoid clashes 2007-08-14 08:01:33 +00:00
clutter-group.h Move depth ordering methods from ClutterGroup to ClutterContainer 2007-08-13 17:00:58 +00:00
clutter-hbox.c Add descriptions to ClutterBox and subclasses 2007-08-06 19:37:55 +00:00
clutter-hbox.h Don't forget to add the boxes 2007-06-14 15:30:27 +00:00
clutter-keysyms-table.h 2007-03-22 Emmanuele Bassi <ebassi@openedhand.com> 2007-03-22 18:21:59 +00:00
clutter-keysyms.h Merge gobject-branch into trunk 2006-05-29 08:59:36 +00:00
clutter-label.c 2007-08-02 Emmanuele Bassi <ebassi@openedhand.com> 2007-08-02 09:58:18 +00:00
clutter-label.h 2007-07-25 Emmanuele Bassi <ebassi@openedhand.com> 2007-07-25 14:25:01 +00:00
clutter-layout.c Don't forget files when committing, stoopeed 2007-06-07 19:23:04 +00:00
clutter-layout.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-main.c Replace the note in clutter_do_event() 2007-08-19 17:06:37 +00:00
clutter-main.h 2007-08-13 Matthew Allum <mallum@openedhand.com> 2007-08-13 20:48:01 +00:00
clutter-marshal.list Fix delete-event signal handler 2007-04-19 15:27:46 +00:00
clutter-media.c 2007-07-29 Emmanuele Bassi <ebassi@openedhand.com> 2007-07-29 09:11:57 +00:00
clutter-media.h 2006-11-15 Emmanuele Bassi <ebassi@openedhand.com> 2006-11-15 23:37:53 +00:00
clutter-private.h Preserve ordering when placing synthetic events in the queue 2007-08-21 15:48:13 +00:00
clutter-rectangle.c 2007-07-05 Emmanuele Bassi <ebassi@openedhand.com> 2007-07-05 10:06:08 +00:00
clutter-rectangle.h 2006-11-20 Emmanuele Bassi <ebassi@openedhand.com> 2006-11-20 22:20:48 +00:00
clutter-stage.c Document ClutterStage properties 2007-08-21 15:47:51 +00:00
clutter-stage.h 2007-08-13 Matthew Allum <mallum@openedhand.com> 2007-08-13 20:48:01 +00:00
clutter-texture.c 2007-08-12 Matthew Allum <mallum@openedhand.com> 2007-08-12 21:30:14 +00:00
clutter-texture.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-timeline.c Various fixes to ClutterTimeline 2007-08-19 19:09:20 +00:00
clutter-timeline.h Make gtk-doc produce the ClutterTimeline signals 2007-08-20 09:17:23 +00:00
clutter-timeout-pool.c Use g_list_insert_sorted() instead of our custom function 2007-08-19 17:06:22 +00:00
clutter-timeout-pool.h Add copyright license and make ClutterTimeoutPool public 2007-06-09 13:20:06 +00:00
clutter-types.h 2007-08-13 Matthew Allum <mallum@openedhand.com> 2007-08-13 20:48:01 +00:00
clutter-units.h Even more documentation fixes 2007-08-07 14:03:58 +00:00
clutter-util.c 2007-01-23 Matthew Allum <mallum@openedhand.com> 2007-01-23 20:29:11 +00:00
clutter-util.h 2007-01-23 Matthew Allum <mallum@openedhand.com> 2007-01-23 20:29:11 +00:00
clutter-vbox.c Add descriptions to ClutterBox and subclasses 2007-08-06 19:37:55 +00:00
clutter-vbox.h Don't forget to add the boxes 2007-06-14 15:30:27 +00:00
clutter-version.h.in Relax the CLUTTER_CHECK_VERSION() macro check 2007-08-20 11:54:28 +00:00
clutter.h Add a header for common types to avoid inclusion hell 2007-07-26 13:13:23 +00:00
Makefile.am 2007-08-20 Emmanuele Bassi <ebassi@openedhand.com> 2007-08-20 20:16:15 +00:00