mutter/clutter/x11
Owen W. Taylor 894fe4ba93 Always create the Damage object for ClutterX11TexturePixmap auto updates
If clutter_x11_texture_set_window() was called after
clutter_x11_texture_pixmap_set_automatic(), then the Damage object would
not be properly created so updates to the window were ignored.

Refactor creation of the damage object to a separate function, and
call it from clutter_x11_texture_set_window() and clutter_x11_texture_set_pixmap()
as appropriate. Addition and removal of the filter function is made
conditional on priv->damage to make free_damage_resources() cleanly
idempotent.

See: http://bugzilla.gnome.org/show_bug.cgi?id=587189 for the original
bug report.

http://bugzilla.openedhand.com/show_bug.cgi?id=1710

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
2009-07-27 10:49:38 +01:00
..
clutter-backend-x11-private.h
clutter-backend-x11.c
clutter-backend-x11.h
clutter-event-x11.c
clutter-stage-x11.c
clutter-stage-x11.h
clutter-x11-enum-types.c.in
clutter-x11-enum-types.h.in
clutter-x11-texture-pixmap.c
clutter-x11-texture-pixmap.h
clutter-x11.h
clutter-x11.pc.in
Makefile.am