If we have an not-visible texture pixmap, we need to:
- Still update it if it is realized, since it won't be
updated when shown. And it might be also be cloned.
- Queue a redraw if even if not visible, since it
it might be cloned.
http://bugzilla.openedhand.com/show_bug.cgi?id=1647
Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
else
g_warning ("Failed to bind initial tex");
- if (CLUTTER_ACTOR_IS_VISIBLE (CLUTTER_ACTOR(texture)))
clutter_actor_queue_redraw (CLUTTER_ACTOR(texture));
-
}
static void
{
g_return_if_fail (CLUTTER_X11_IS_TEXTURE_PIXMAP (texture));
- if (!CLUTTER_ACTOR_IS_VISIBLE (CLUTTER_ACTOR(texture)))
- return; /* No need to update when not visible */
-
g_signal_emit (texture, signals[UPDATE_AREA], 0, x, y, width, height);
}