From a2551dfa602f938b168fdf23fb4d2fcef4f1d892 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Tue, 3 Dec 2013 00:32:14 -0500 Subject: [PATCH] ClutterStage: Don't add empty actors to the stage clip Currently, if an actor with an empty paint volume is queued for redraw, it will union in the box +0+0x1x1 to the stage clip bounds - avoid that by special casing empty paint volumes. https://bugzilla.gnome.org/show_bug.cgi?id=719747 --- clutter/clutter-stage.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c index 0f2e7d9a7..490245169 100644 --- a/clutter/clutter-stage.c +++ b/clutter/clutter-stage.c @@ -1312,6 +1312,9 @@ clutter_stage_real_queue_redraw (ClutterActor *actor, return; } + if (redraw_clip->is_empty) + return; + _clutter_paint_volume_get_stage_paint_box (redraw_clip, stage, &bounding_box);