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 [x11] Simplify the XInput support 2009-06-19 15:12:32 +01:00
clutter-backend-x11.h [input] Rework input device API 2009-06-19 13:12:05 +01:00
clutter-event-x11.c [x11] Fix the race between resize and glViewport calls 2009-07-01 15:30:21 +01:00
clutter-stage-x11.c [stage] Force an allocation before showing the stage 2009-07-17 12:43:52 +01:00
clutter-stage-x11.h [x11] Rework map/unmap and resizing 2009-06-04 16:30:32 +01:00
clutter-x11-enum-types.c.in
clutter-x11-enum-types.h.in 2008-06-30 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-30 15:03:42 +00:00
clutter-x11-texture-pixmap.c Always create the Damage object for ClutterX11TexturePixmap auto updates 2009-07-27 10:49:38 +01:00
clutter-x11-texture-pixmap.h
clutter-x11.h [input] Rework input device API 2009-06-19 13:12:05 +01:00
clutter-x11.pc.in
Makefile.am Use $(MAINTAINER_CFLAGS) in clutter/{x11,glx}/Makefile.am 2009-04-17 14:53:24 +01:00