mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-04-22 04:40:43 +02:00
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:
parent
f10df85cd7
commit
9bc7095a78
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue