609560b1cb
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. |
||
---|---|---|
.. | ||
cally | ||
cogl | ||
egl | ||
fruity | ||
glx | ||
json | ||
osx | ||
win32 | ||
x11 | ||
clutter-action.c | ||
clutter-action.h | ||
clutter-actor-meta-private.h | ||
clutter-actor-meta.c | ||
clutter-actor-meta.h | ||
clutter-actor.c | ||
clutter-actor.h | ||
clutter-align-constraint.c | ||
clutter-align-constraint.h | ||
clutter-alpha.c | ||
clutter-alpha.h | ||
clutter-animatable.c | ||
clutter-animatable.h | ||
clutter-animation.c | ||
clutter-animation.h | ||
clutter-animator.c | ||
clutter-animator.h | ||
clutter-backend.c | ||
clutter-backend.h | ||
clutter-behaviour-depth.c | ||
clutter-behaviour-depth.h | ||
clutter-behaviour-ellipse.c | ||
clutter-behaviour-ellipse.h | ||
clutter-behaviour-opacity.c | ||
clutter-behaviour-opacity.h | ||
clutter-behaviour-path.c | ||
clutter-behaviour-path.h | ||
clutter-behaviour-rotate.c | ||
clutter-behaviour-rotate.h | ||
clutter-behaviour-scale.c | ||
clutter-behaviour-scale.h | ||
clutter-behaviour.c | ||
clutter-behaviour.h | ||
clutter-bezier.c | ||
clutter-bezier.h | ||
clutter-bin-layout.c | ||
clutter-bin-layout.h | ||
clutter-bind-constraint.c | ||
clutter-bind-constraint.h | ||
clutter-binding-pool.c | ||
clutter-binding-pool.h | ||
clutter-blur-effect.c | ||
clutter-blur-effect.h | ||
clutter-box-layout.c | ||
clutter-box-layout.h | ||
clutter-box.c | ||
clutter-box.h | ||
clutter-cairo-texture.c | ||
clutter-cairo-texture.h | ||
clutter-child-meta.c | ||
clutter-child-meta.h | ||
clutter-click-action.c | ||
clutter-click-action.h | ||
clutter-clone.c | ||
clutter-clone.h | ||
clutter-color.c | ||
clutter-color.h | ||
clutter-colorize-effect.c | ||
clutter-colorize-effect.h | ||
clutter-constraint.c | ||
clutter-constraint.h | ||
clutter-container.c | ||
clutter-container.h | ||
clutter-debug.h | ||
clutter-deform-effect.c | ||
clutter-deform-effect.h | ||
clutter-deprecated.h | ||
clutter-desaturate-effect.c | ||
clutter-desaturate-effect.h | ||
clutter-device-manager.c | ||
clutter-device-manager.h | ||
clutter-drag-action.c | ||
clutter-drag-action.h | ||
clutter-effect.c | ||
clutter-effect.h | ||
clutter-enum-types.c.in | ||
clutter-enum-types.h.in | ||
clutter-event.c | ||
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 | ||
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 | ||
clutter-input-device.h | ||
clutter-interval.c | ||
clutter-interval.h | ||
clutter-json.h.in | ||
clutter-keysyms-table.h | ||
clutter-keysyms.h | ||
clutter-layout-manager.c | ||
clutter-layout-manager.h | ||
clutter-layout-meta.c | ||
clutter-layout-meta.h | ||
clutter-list-model.c | ||
clutter-list-model.h | ||
clutter-main.c | ||
clutter-main.h | ||
clutter-marshal.list | ||
clutter-master-clock.c | ||
clutter-master-clock.h | ||
clutter-media.c | ||
clutter-media.h | ||
clutter-model-private.h | ||
clutter-model.c | ||
clutter-model.h | ||
clutter-offscreen-effect.c | ||
clutter-offscreen-effect.h | ||
clutter-page-turn-effect.c | ||
clutter-page-turn-effect.h | ||
clutter-path.c | ||
clutter-path.h | ||
clutter-private.h | ||
clutter-profile.c | ||
clutter-profile.h | ||
clutter-rectangle.c | ||
clutter-rectangle.h | ||
clutter-score.c | ||
clutter-score.h | ||
clutter-script-parser.c | ||
clutter-script-private.h | ||
clutter-script.c | ||
clutter-script.h | ||
clutter-scriptable.c | ||
clutter-scriptable.h | ||
clutter-settings.c | ||
clutter-settings.h | ||
clutter-shader-effect.c | ||
clutter-shader-effect.h | ||
clutter-shader-types.c | ||
clutter-shader-types.h | ||
clutter-shader.c | ||
clutter-shader.h | ||
clutter-stage-manager.c | ||
clutter-stage-manager.h | ||
clutter-stage-window.c | ||
clutter-stage-window.h | ||
clutter-stage.c | ||
clutter-stage.h | ||
clutter-state.c | ||
clutter-state.h | ||
clutter-text.c | ||
clutter-text.h | ||
clutter-texture.c | ||
clutter-texture.h | ||
clutter-timeline.c | ||
clutter-timeline.h | ||
clutter-timeout-interval.c | ||
clutter-timeout-interval.h | ||
clutter-timeout-pool.c | ||
clutter-timeout-pool.h | ||
clutter-types.h | ||
clutter-units.c | ||
clutter-units.h | ||
clutter-util.c | ||
clutter-util.h | ||
clutter-version.h.in | ||
clutter.h | ||
Makefile.am |