1
0
Fork 0
mutter-performance-source/clutter/x11
Lionel Landwerlin d6a0f7eb61 input-device: don't reset a device's stage until all touch points are gone
803b3bafb6 introduced a new issue for
multi touch events.

In the case where 2 touch events for 2 different touch points are
processed in the same iteration, a call to
_clutter_stage_remove_device() when processing the first event will
remove the stage setting of the InputDevice. That means Clutter will
skip the second event, because it can't find a stage to which relate
the event, so no related actor and so no emission.

To fix this we move the _clutter_stage_(add/remove)_device() calls
into the input device. This way the input device can find out exactly
when to call these functions (i.e. when no touch point were previously
active or when no touch point remain active).

https://bugzilla.gnome.org/show_bug.cgi?id=682362
2012-09-03 21:50:24 +01:00
..
xsettings x11: Add the XSETTINGS machinery 2010-06-21 15:55:36 +01:00
clutter-backend-x11.c Be resilient in case there is no device manager 2012-04-26 13:56:00 +01:00
clutter-backend-x11.h x11: Add support for touch events 2012-03-19 14:29:24 +00:00
clutter-device-manager-core-x11.c stage: Remove tracking input devices, it's not used 2012-09-03 21:50:19 +01:00
clutter-device-manager-core-x11.h x11: Remove more private symbols 2011-01-25 11:00:20 +00:00
clutter-device-manager-xi2.c input-device: don't reset a device's stage until all touch points are gone 2012-09-03 21:50:24 +01:00
clutter-device-manager-xi2.h Clean up the copyright and licensing blurbs 2011-01-21 10:25:43 +00:00
clutter-event-x11.c Deprecate clutter_threads_enter()/leave() 2012-07-11 13:22:19 +01:00
clutter-glx-texture-pixmap.c Deprecate ClutterTexture's API 2012-07-11 13:22:21 +01:00
clutter-glx-texture-pixmap.h x11: Remove CLUTTER_DISABLE_DEPRECATED usage 2012-01-31 10:34:45 +00:00
clutter-glx.h Rework the interaction between the Cogl and GDK / X11 backends. 2011-11-03 13:45:17 +00:00
clutter-input-device-core-x11.c Add an input device function to convert keycodes to evdev codes 2012-03-01 11:41:51 +00:00
clutter-input-device-core-x11.h x11: Do not try to access private structures 2011-12-01 13:44:21 +00:00
clutter-input-device-xi2.c Rename XINPUT_2_2 define to HAVE_XINPUT_2_2 2012-04-12 11:31:29 +01:00
clutter-input-device-xi2.h Add copyright and licensing blurbs 2011-01-21 10:25:44 +00:00
clutter-keymap-x11.c x11/keymap: Silence deprecation warnings around a fallback 2012-03-19 14:40:46 +00:00
clutter-keymap-x11.h x11/keymap: Avoid a signed/unsigned comparison 2012-03-07 12:36:43 +00:00
clutter-settings-x11.h x11/settings: Add Fontconfig/Timestamp key 2011-08-18 15:36:20 +01:00
clutter-stage-x11.c Be resilient in case there is no device manager 2012-04-26 13:56:00 +01:00
clutter-stage-x11.h device-manager: select/unselect device events as device change 2012-04-24 18:49:42 -04:00
clutter-x11-texture-pixmap.c Deprecate ClutterTexture's API 2012-07-11 13:22:21 +01:00
clutter-x11-texture-pixmap.h x11: Clean up TexturePixmap header and private data structure 2010-07-21 15:14:36 +01:00
clutter-x11.h x11: Remove CLUTTER_DISABLE_DEPRECATED usage 2012-01-31 10:34:45 +00:00