compositor: Set an empty input region for the fade surface

Otherwise we don't set the cursor until the fade is done.
dev
Kristian Høgsberg 13 years ago
parent f10df85cd7
commit 9bc7095a78
  1. 1
      src/compositor.c

@ -1067,6 +1067,7 @@ weston_compositor_fade(struct weston_compositor *compositor, float tint)
wl_list_insert(&compositor->surface_list, &surface->link); wl_list_insert(&compositor->surface_list, &surface->link);
weston_surface_assign_output(surface); weston_surface_assign_output(surface);
compositor->fade.surface = surface; compositor->fade.surface = surface;
pixman_region32_init(&surface->input);
} }
weston_surface_damage(compositor->fade.surface); weston_surface_damage(compositor->fade.surface);

Loading…
Cancel
Save