From 9bc7095a78e7fcd987f02e625fba764e826452a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 29 Feb 2012 12:22:38 -0500 Subject: [PATCH] compositor: Set an empty input region for the fade surface Otherwise we don't set the cursor until the fade is done. --- src/compositor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor.c b/src/compositor.c index 74c40da5..2c2ff883 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1067,6 +1067,7 @@ weston_compositor_fade(struct weston_compositor *compositor, float tint) wl_list_insert(&compositor->surface_list, &surface->link); weston_surface_assign_output(surface); compositor->fade.surface = surface; + pixman_region32_init(&surface->input); } weston_surface_damage(compositor->fade.surface);