@ -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 ) ;
@ -780,7 +784,6 @@ update_prop(struct ivi_layout_layer *ivilayer,
if ( ivisurf - > surface ! = NULL ) {
if ( ivisurf - > surface ! = NULL ) {
weston_surface_damage ( ivisurf - > surface ) ;
weston_surface_damage ( ivisurf - > surface ) ;
}
}
}
}
}
static void
static void