diff --git a/src/compositor/meta-surface-actor-x11.c b/src/compositor/meta-surface-actor-x11.c index 8af5ca2c8..4aa7ecd43 100644 --- a/src/compositor/meta-surface-actor-x11.c +++ b/src/compositor/meta-surface-actor-x11.c @@ -193,8 +193,8 @@ meta_surface_actor_x11_process_damage (MetaSurfaceActor *actor, MetaRectangle window_rect; meta_window_get_frame_rect (priv->window, &window_rect); - if (window_rect.x == x && - window_rect.y == y && + if (x == 0 && + y == 0 && window_rect.width == width && window_rect.height == height) priv->full_damage_frames_count++;