From bed063eea16b0e43ae7e6166e6786769f4f06c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 13 Jan 2011 23:48:51 +0100 Subject: [PATCH] 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 --- src/shell-generic-container.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shell-generic-container.c b/src/shell-generic-container.c index 8be3a96c5..c54ebf278 100644 --- a/src/shell-generic-container.c +++ b/src/shell-generic-container.c @@ -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