diff --git a/clients/simple-egl.c b/clients/simple-egl.c index 2c9a0a0b..12bc93d3 100644 --- a/clients/simple-egl.c +++ b/clients/simple-egl.c @@ -413,6 +413,8 @@ redraw(void *data, struct wl_callback *callback, uint32_t time) window->geometry.height); wl_surface_set_opaque_region(window->surface, region); wl_region_destroy(region); + } else { + wl_surface_set_opaque_region(window->surface, NULL); } window->callback = wl_surface_frame(window->surface);