mutter/tests/interactive
Emmanuele Bassi 1b1e77b469 event/x11: Rework the way we translate X11 events
This is a lump commit that is fairly difficult to break down without
either breaking bisecting or breaking the test cases.

The new design for handling X11 event translation works this way:

  - ClutterBackend::translate_event() has been added as the central
    point used by a ClutterBackend implementation to translate a
    native event into a ClutterEvent;

  - ClutterEventTranslator is a private interface that should be
    implemented by backend-specific objects, like stage
    implementations and ClutterDeviceManager sub-classes, and
    allows dealing with class-specific event translation;

  - ClutterStageX11 implements EventTranslator, and deals with the
    stage-relative X11 events coming from the X11 event source;

  - ClutterStageGLX overrides EventTranslator, in order to
    deal with the INTEL_GLX_swap_event extension, and it chains up
    to the X11 default implementation;

  - ClutterDeviceManagerX11 has been split into two separate classes,
    one that deals with core and (optionally) XI1 events, and the
    other that deals with XI2 events; the selection is done at run-time,
    since the core+XI1 and XI2 mechanisms are mutually exclusive.

All the other backends we officially support still use their own
custom event source and translation function, but the end goal is to
migrate them to the translate_event() virtual function, and have the
event source be a shared part of Clutter core.
2011-01-21 10:25:43 +00:00
..
Makefile.am interactive: Remove test-bind 2010-12-20 12:41:07 +00:00
test-actor-clone.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-actors.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-animation.c Use ClickAction in test-animation 2010-05-26 14:18:19 +01:00
test-animator.c osx: Implemented hide cursor backend implementation 2010-08-04 15:13:11 +01:00
test-behave.c timeline: Rename the reverse property to auto-reverse 2010-12-17 12:07:52 +00:00
test-bin-layout.c bin-layout: Add a text to the test 2010-08-05 17:22:50 +01:00
test-binding-pool.c Move tests to static colors where possible 2010-11-11 13:14:39 +00:00
test-box-layout.c Move tests to static colors where possible 2010-11-11 13:14:39 +00:00
test-cairo-flowers.c cairo-texture: Allow overriding the surface creation 2010-10-18 11:26:45 +01:00
test-clip.c keysyms: Update the macros to CLUTTER_KEY_* 2010-09-10 17:54:52 +01:00
test-cogl-multitexture.c test-cogl-multitexture: use several materials with texture matrices 2010-01-26 16:59:50 +00:00
test-cogl-offscreen.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-point-sprites.c test: fixed uninitialized variable in test-cogl-point-sprites 2010-08-04 15:13:11 +01:00
test-cogl-primitives.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-shader-arbfp.c tests: test-cogl-shader-arbfp wasn't compiling shader 2010-11-10 14:19:34 +00:00
test-cogl-shader-glsl.c test-cogl-shader-glsl: Disable the atlas for the hand texture 2011-01-13 11:50:09 +00:00
test-cogl-tex-convert.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-tex-foreign.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-tex-getset.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-tex-polygon.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-tex-tile.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-cogl-vertex-buffer.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-constraints.c Add named modifiers for Action and Constraint 2010-05-20 11:19:51 +01:00
test-depth.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-devices.c event/x11: Rework the way we translate X11 events 2011-01-21 10:25:43 +00:00
test-drag.c Move tests to static colors where possible 2010-11-11 13:14:39 +00:00
test-easing.c test-easing: Do not reconnect signals multiple times 2010-01-22 21:44:28 +00:00
test-events.c evdev: Add mouse support 2010-11-30 14:40:38 +00:00
test-fbo.c tests: Clean up interactive test build 2009-11-05 17:47:26 +00:00
test-flow-layout.c test-flow-layout: Track stage size by default 2010-10-12 14:53:20 +01:00
test-fullscreen.c [stage] Rename fullscreen methods 2009-06-09 14:07:35 +01:00
test-grab.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-layout.c timeline: Rename the reverse property to auto-reverse 2010-12-17 12:07:52 +00:00
test-main.c * tests/interactive/test-main.c (main): Allow more than two 2008-11-10 16:30:42 +00:00
test-model.c Bug 1162 - Re-works the tests/ to use the glib-2.16 unit testing 2008-11-07 19:32:28 +00:00
test-multistage.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-paint-wrapper.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-path-constraint.c path-constraint: Add a ::node-reached signal 2010-11-07 21:35:40 +00:00
test-pixmap.c test-pixmap: Remove the GLX code 2011-01-20 12:59:56 +00:00
test-scale.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-script.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-scrolling.c drag-action: Remove the press event button 2010-06-12 17:45:54 +01:00
test-shader-effects.c interactive: Rename test-rotate 2010-12-16 15:35:38 +00:00
test-shader.c test-shader: Fix the edge-detect shader 2011-01-11 14:21:21 +00:00
test-snap-constraint.c Add SnapConstraint 2010-11-15 16:00:49 +00:00
test-stage-read-pixels.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
test-stage-sizing.c Move tests to static colors where possible 2010-11-11 13:14:39 +00:00
test-state-animator.c state: add clutter_state_set_state and clutter_state_warp_to_state 2010-07-07 18:17:09 +01:00
test-state.c state: add clutter_state_set_state and clutter_state_warp_to_state 2010-07-07 18:17:09 +01:00
test-table-layout.c table-layout: Invert row/column in arguments 2010-09-23 15:17:58 +01:00
test-text-field.c test-text-field: Grab key focus on the first entry 2010-12-30 12:49:41 +00:00
test-text.c Remove obsolete code from test-text 2010-01-11 17:10:00 +00:00
test-texture-async.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-texture-material.c texture: Use a base material for all instances 2010-09-06 18:09:19 +01:00
test-texture-quality.c Deprecate ClutterBehaviour and sub-classes 2010-11-18 15:21:16 +00:00
test-textures.c tests: Try to drop including config.h 2011-01-19 14:36:30 +00:00
test-threads.c timeline: Rename the reverse property to auto-reverse 2010-12-17 12:07:52 +00:00
test-unproject.c Remove Units from the public API 2009-05-06 16:44:47 +01:00
wrapper.sh.in build: Allow to run the tests from any directory 2010-07-06 12:39:15 +01:00