From ea55c36a3a2f1abcaa8e202e0f67a29ed807cebe Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Fri, 1 Mar 2013 18:52:02 +0100 Subject: [PATCH] st-widget: Don't add hidden actors to the paint volume We are not painting them anyway. --- src/st/st-widget.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/st/st-widget.c b/src/st/st-widget.c index 65de2722b..42992ece7 100644 --- a/src/st/st-widget.c +++ b/src/st/st-widget.c @@ -791,6 +791,9 @@ st_widget_get_paint_volume (ClutterActor *self, { const ClutterPaintVolume *child_volume; + if (!CLUTTER_ACTOR_IS_VISIBLE (child)) + continue; + child_volume = clutter_actor_get_transformed_paint_volume (child, self); if (!child_volume) return FALSE;