compositor: Set an empty input region for the fade surface

Otherwise we don't set the cursor until the fade is done.
This commit is contained in:
Kristian Høgsberg 2012-02-29 12:22:38 -05:00
parent f10df85cd7
commit 9bc7095a78

View File

@ -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);