mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-15 16:28:13 +00:00
shell: Make sure the black surface is opaque
So we don't repaint anything below it.
This commit is contained in:
parent
982387011f
commit
61f00f52fa
|
@ -1388,6 +1388,8 @@ create_black_surface(struct weston_compositor *ec,
|
|||
surface->private = fs_surface;
|
||||
weston_surface_configure(surface, x, y, w, h);
|
||||
weston_surface_set_color(surface, 0.0, 0.0, 0.0, 1);
|
||||
pixman_region32_init_rect(&surface->opaque, 0, 0, w, h);
|
||||
|
||||
return surface;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue