ivi-shell: remove one indent level from update_prop()
There is no logic update. Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
committed by
Pekka Paalanen
parent
8c7287f5ba
commit
4c1dbf7213
@@ -756,8 +756,12 @@ static void
|
||||
update_prop(struct ivi_layout_layer *ivilayer,
|
||||
struct ivi_layout_surface *ivisurf)
|
||||
{
|
||||
if (ivilayer->event_mask | ivisurf->event_mask) {
|
||||
struct weston_view *tmpview;
|
||||
|
||||
if (!ivilayer->event_mask && !ivisurf->event_mask) {
|
||||
return;
|
||||
}
|
||||
|
||||
update_opacity(ivilayer, ivisurf);
|
||||
update_layer_orientation(ivilayer, ivisurf);
|
||||
update_layer_position(ivilayer, ivisurf);
|
||||
@@ -780,7 +784,6 @@ update_prop(struct ivi_layout_layer *ivilayer,
|
||||
if (ivisurf->surface != NULL) {
|
||||
weston_surface_damage(ivisurf->surface);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user