generic-container: Queue a redraw in skip_paint()

When changing a child's visibility with skip_paint(), the change
will not be visible until a redraw is triggered. Queue a redraw,
so that the function has an immediate effect.

https://bugzilla.gnome.org/show_bug.cgi?id=639461
This commit is contained in:
Florian Müllner 2011-01-13 23:48:51 +01:00
parent ed76e52918
commit bed063eea1

View File

@ -233,6 +233,8 @@ shell_generic_container_set_skip_paint (ShellGenericContainer *self,
g_hash_table_remove (self->priv->skip_paint, child);
else
g_hash_table_insert (self->priv->skip_paint, child, child);
clutter_actor_queue_redraw (CLUTTER_ACTOR (self));
}
static void