diff --git a/src/backends/meta-stage.c b/src/backends/meta-stage.c index 425926a7c..1f0d9c050 100644 --- a/src/backends/meta-stage.c +++ b/src/backends/meta-stage.c @@ -123,8 +123,11 @@ meta_overlay_paint (MetaOverlay *overlay) (overlay->current_rect.origin.y + overlay->current_rect.size.height)); - overlay->previous_rect = overlay->current_rect; - overlay->previous_is_valid = TRUE; + if (!clutter_rect_equals (&overlay->previous_rect, &overlay->current_rect)) + { + overlay->previous_rect = overlay->current_rect; + overlay->previous_is_valid = TRUE; + } } static void