075a4ed86c
https://bugzilla.gnome.org/show_bug.cgi?id=654656 Clutter may be used together with GTK+, which indirectly may use XInput2 too, so the cookie data must persist when both are handling events. What happens now in a nutshell is, Clutter is only guaranteed to allocate the cookie itself after XNextEvent(), and only frees the cookie if its XGetEventData() call allocated the cookie data. The X[Get|Free]EventData() calls happen now in clutter-event-x11.c as hypothetically different event translators could also handle other set of X Generic Events, or other libraries handling events for that matter. |
||
---|---|---|
.. | ||
xsettings | ||
clutter-backend-x11-private.h | ||
clutter-backend-x11.c | ||
clutter-backend-x11.h | ||
clutter-device-manager-core-x11.c | ||
clutter-device-manager-core-x11.h | ||
clutter-device-manager-xi2.c | ||
clutter-device-manager-xi2.h | ||
clutter-event-x11.c | ||
clutter-input-device-core-x11.c | ||
clutter-input-device-core-x11.h | ||
clutter-input-device-xi2.c | ||
clutter-input-device-xi2.h | ||
clutter-keymap-x11.c | ||
clutter-keymap-x11.h | ||
clutter-settings-x11.h | ||
clutter-stage-x11.c | ||
clutter-stage-x11.h | ||
clutter-x11-texture-pixmap.c | ||
clutter-x11-texture-pixmap.h | ||
clutter-x11.h |