diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index 483c0c714..3a8a077d4 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -311,7 +311,8 @@ commit_pending_state (MetaWaylandSurface *surface, } } - surface_process_damage (surface, pending->damage); + if (!cairo_region_is_empty (pending->damage)) + surface_process_damage (surface, pending->damage); if (pending->opaque_region) meta_surface_actor_set_opaque_region (surface->surface_actor, pending->opaque_region);