ivi-layout: Use weston_view_set_alpha()
Stop setting view->alpha directly. Use weston_view_set_alpha() to also apply damage as required. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
parent
2df127c180
commit
d0dc464f15
|
@ -370,7 +370,7 @@ update_opacity(struct ivi_layout_layer *ivilayer,
|
|||
double layer_alpha = wl_fixed_to_double(ivilayer->prop.opacity);
|
||||
double surf_alpha = wl_fixed_to_double(ivisurf->prop.opacity);
|
||||
|
||||
view->alpha = layer_alpha * surf_alpha;
|
||||
weston_view_set_alpha(view, layer_alpha * surf_alpha);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue