@ -756,8 +756,12 @@ static void
update_prop ( struct ivi_layout_layer * ivilayer ,
update_prop ( struct ivi_layout_layer * ivilayer ,
struct ivi_layout_surface * ivisurf )
struct ivi_layout_surface * ivisurf )
{
{
if ( ivilayer - > event_mask | ivisurf - > event_mask ) {
struct weston_view * tmpview ;
struct weston_view * tmpview ;
if ( ! ivilayer - > event_mask & & ! ivisurf - > event_mask ) {
return ;
}
update_opacity ( ivilayer , ivisurf ) ;
update_opacity ( ivilayer , ivisurf ) ;
update_layer_orientation ( ivilayer , ivisurf ) ;
update_layer_orientation ( ivilayer , ivisurf ) ;
update_layer_position ( ivilayer , ivisurf ) ;
update_layer_position ( ivilayer , ivisurf ) ;
@ -781,7 +785,6 @@ update_prop(struct ivi_layout_layer *ivilayer,
weston_surface_damage ( ivisurf - > surface ) ;
weston_surface_damage ( ivisurf - > surface ) ;
}
}
}
}
}
static void
static void
commit_changes ( struct ivi_layout * layout )
commit_changes ( struct ivi_layout * layout )