mutter/clutter
Emmanuele Bassi 609560b1cb glx: Unconditionally select X11/GLX events
Currently, we select input events and GLX events conditionally,
depending on whether the user has disabled event retrieval.

We should, instead, unconditionally select input events even with event
retrieval disabled because we need to guarantee that the Clutter
internal state is maintained when calling clutter_x11_handle_event()
without requiring applications or embedding toolkits to select events
themselves. If we did that, we'd have to document the events to be
selected, and also update applications and embedding toolkits each time
we added a new mask, or a new class of events - something that's clearly
not possible.

See:

  http://bugzilla.clutter-project.org/show_bug.cgi?id=998

for the rationale of why we did conditional selection. It is now clear
that a compositor should clear out the input region, since it cannot
assume a perfectly clean slate coming from us.

See:

  http://bugzilla.clutter-project.org/show_bug.cgi?id=2228

for an example of things that break if we do conditional event
selection on GLX events. In that specific case, the X11 server ≤ 1.8
always pushed GLX events on the queue, even without selecting them; this
has been fixed in the X11 server ≥ 1.9, which means that applications
like Mutter or toolkit integration libraries like Clutter-GTK would stop
working on recent Intel drivers providing the GLX_INTEL_swap_event
extension.

This change has been tested with Mutter and Clutter-GTK.
2010-08-03 16:11:52 +01:00
..
cally build: Distcheck fixes after the Cally merge 2010-07-07 16:30:31 +01:00
cogl cogl-program: gles2: bind programs lazily as for GL 2010-08-03 15:00:07 +01:00
egl Clean up the private flags for ClutterActor 2010-07-21 16:10:46 +01:00
fruity
glx glx: Unconditionally select X11/GLX events 2010-08-03 16:11:52 +01:00
json json: Backport JSON_NODE_HOLDS macros 2010-06-22 07:58:49 +01:00
osx Clean up the private flags for ClutterActor 2010-07-21 16:10:46 +01:00
win32 Clean up the private flags for ClutterActor 2010-07-21 16:10:46 +01:00
x11 x11: Split out conditions and warnings 2010-07-29 17:18:25 +01:00
clutter-action.c
clutter-action.h
clutter-actor-meta-private.h
clutter-actor-meta.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-actor-meta.h
clutter-actor.c animatable: Allow passing a NULL animation 2010-07-31 10:56:09 +01:00
clutter-actor.h actor: add clutter_actor_contains() 2010-06-11 15:19:45 +01:00
clutter-align-constraint.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-align-constraint.h docs: Various fixes 2010-06-30 11:32:15 +01:00
clutter-alpha.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-alpha.h
clutter-animatable.c animatable: Allow passing a NULL animation 2010-07-31 10:56:09 +01:00
clutter-animatable.h animatable: Allow passing a NULL animation 2010-07-31 10:56:09 +01:00
clutter-animation.c animatable: Allow passing a NULL animation 2010-07-31 10:56:09 +01:00
clutter-animation.h
clutter-animator.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-animator.h
clutter-backend.c Clean up the private flags for ClutterActor 2010-07-21 16:10:46 +01:00
clutter-backend.h events: Add platform-data to allocated Events 2010-07-13 08:27:48 +01:00
clutter-behaviour-depth.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-behaviour-depth.h
clutter-behaviour-ellipse.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-behaviour-ellipse.h
clutter-behaviour-opacity.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-behaviour-opacity.h
clutter-behaviour-path.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-behaviour-path.h
clutter-behaviour-rotate.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-behaviour-rotate.h
clutter-behaviour-scale.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-behaviour-scale.h
clutter-behaviour.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-behaviour.h
clutter-bezier.c
clutter-bezier.h
clutter-bin-layout.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-bin-layout.h
clutter-bind-constraint.c docs: Fix the BindConstraint example 2010-07-31 10:39:53 +01:00
clutter-bind-constraint.h docs: Various fixes 2010-06-30 11:32:15 +01:00
clutter-binding-pool.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-binding-pool.h
clutter-blur-effect.c
clutter-blur-effect.h
clutter-box-layout.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-box-layout.h
clutter-box.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-box.h
clutter-cairo-texture.c Clean up the private flags for ClutterActor 2010-07-21 16:10:46 +01:00
clutter-cairo-texture.h
clutter-child-meta.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-child-meta.h
clutter-click-action.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-click-action.h
clutter-clone.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-clone.h
clutter-color.c
clutter-color.h
clutter-colorize-effect.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-colorize-effect.h
clutter-constraint.c
clutter-constraint.h
clutter-container.c Hide the marshallers 2010-06-11 16:09:36 +01:00
clutter-container.h
clutter-debug.h
clutter-deform-effect.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-deform-effect.h effect: Add DeformEffect 2010-06-10 18:40:29 +01:00
clutter-deprecated.h
clutter-desaturate-effect.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-desaturate-effect.h
clutter-device-manager.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-device-manager.h
clutter-drag-action.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-drag-action.h drag-action: Remove the press event button 2010-06-12 17:45:54 +01:00
clutter-effect.c docs: Fix Effect subclassing section 2010-06-10 17:34:48 +01:00
clutter-effect.h
clutter-enum-types.c.in
clutter-enum-types.h.in
clutter-event.c events: Add platform-data to allocated Events 2010-07-13 08:27:48 +01:00
clutter-event.h
clutter-feature.c
clutter-feature.h
clutter-fixed-layout.c
clutter-fixed-layout.h
clutter-fixed.c
clutter-fixed.h
clutter-flow-layout.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-flow-layout.h
clutter-frame-source.c
clutter-frame-source.h
clutter-group.c
clutter-group.h
clutter-id-pool.c
clutter-id-pool.h
clutter-input-device.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-input-device.h
clutter-interval.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-interval.h
clutter-json.h.in
clutter-keysyms-table.h
clutter-keysyms.h
clutter-layout-manager.c Hide the marshallers 2010-06-11 16:09:36 +01:00
clutter-layout-manager.h
clutter-layout-meta.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-layout-meta.h
clutter-list-model.c
clutter-list-model.h
clutter-main.c Clean up the private flags for ClutterActor 2010-07-21 16:10:46 +01:00
clutter-main.h Initialize accessibility support on clutter_init 2010-07-05 16:45:43 +01:00
clutter-marshal.list drag-action: Remove the press event button 2010-06-12 17:45:54 +01:00
clutter-master-clock.c
clutter-master-clock.h
clutter-media.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-media.h
clutter-model-private.h
clutter-model.c Hide the marshallers 2010-06-11 16:09:36 +01:00
clutter-model.h
clutter-offscreen-effect.c offscreen-effect: Traslate the modelview with the offsets 2010-06-10 18:40:24 +01:00
clutter-offscreen-effect.h
clutter-page-turn-effect.c effect: fix conversion from degrees to radians 2010-07-23 12:16:37 +01:00
clutter-page-turn-effect.h effect: Add PageTurnEffect 2010-06-10 18:40:29 +01:00
clutter-path.c
clutter-path.h
clutter-private.h Clean up the private flags for ClutterActor 2010-07-21 16:10:46 +01:00
clutter-profile.c
clutter-profile.h
clutter-rectangle.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-rectangle.h
clutter-score.c Hide the marshallers 2010-06-11 16:09:36 +01:00
clutter-score.h
clutter-script-parser.c script: Let ClutterActor parse behaviours 2010-07-09 14:59:32 +01:00
clutter-script-private.h script: Let ClutterActor parse behaviours 2010-07-09 14:59:32 +01:00
clutter-script.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-script.h
clutter-scriptable.c
clutter-scriptable.h
clutter-settings.c docs: Various fixes 2010-06-30 11:32:15 +01:00
clutter-settings.h settings: Migrate Backend settings to a new object 2010-06-21 15:55:36 +01:00
clutter-shader-effect.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-shader-effect.h
clutter-shader-types.c shader-types: Check the size of the values 2010-06-16 17:14:57 +01:00
clutter-shader-types.h
clutter-shader.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-shader.h
clutter-stage-manager.c Hide the marshallers 2010-06-11 16:09:36 +01:00
clutter-stage-manager.h
clutter-stage-window.c stage-window: Add argument guards 2010-07-20 14:39:01 +01:00
clutter-stage-window.h
clutter-stage.c Clean up the private flags for ClutterActor 2010-07-21 16:10:46 +01:00
clutter-stage.h stage: Add the NO_CLEAR_ON_PAINT hint 2010-07-13 14:57:48 +01:00
clutter-state.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-state.h state: add clutter_state_set_state and clutter_state_warp_to_state 2010-07-07 18:17:09 +01:00
clutter-text.c Mark property strings for translation 2010-07-15 14:07:07 +01:00
clutter-text.h
clutter-texture.c Fixed more set using *_get_* typos. 2010-07-22 11:03:04 +01:00
clutter-texture.h
clutter-timeline.c Hide the marshallers 2010-06-11 16:09:36 +01:00
clutter-timeline.h
clutter-timeout-interval.c
clutter-timeout-interval.h
clutter-timeout-pool.c
clutter-timeout-pool.h Count timeline frames using the FPS instead of an integer interval 2009-03-16 15:40:18 +00:00
clutter-types.h shader-effect: Allow creating vertex shaders 2010-06-11 14:47:48 +01:00
clutter-units.c docs: Avoid warnings from the g-ir-scanner 2010-06-30 15:51:12 +01:00
clutter-units.h
clutter-util.c Add P_() macro for translating property strings 2010-07-15 12:09:01 +01:00
clutter-util.h
clutter-version.h.in
clutter.h settings: Migrate Backend settings to a new object 2010-06-21 15:55:36 +01:00
Makefile.am build: Fix include path for Cally's introspection 2010-07-15 00:27:43 +01:00