shell: Add alpha to weston_curtain_create
Not all solid-colour views want to be opaque: sometimes we use them with non-opaque alpha values in order to shade views underneath them. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
@@ -2069,7 +2069,7 @@ create_black_surface(struct weston_compositor *ec,
|
||||
float x, float y, int w, int h)
|
||||
{
|
||||
struct weston_curtain_params curtain_params = {
|
||||
.r = 0.0, .g = 0.0, .b = 0.0,
|
||||
.r = 0.0, .g = 0.0, .b = 0.0, .a = 1.0,
|
||||
.x = x, .y = y,
|
||||
.width = w, .height = h,
|
||||
.surface_committed = black_surface_committed,
|
||||
|
||||
Reference in New Issue
Block a user