Change-Id: If97349f35dc2c9425283c74e908126fc5b3b6424
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
tdm_exynos_hwc_window_data *hwc_window_data = NULL;
LIST_FOR_EACH_ENTRY(hwc_window_data, hwc_window_list, link) {
- if (hwc_window_data->client_type == TDM_COMPOSITION_NONE)
+ if (hwc_window_data->client_type == TDM_COMPOSITION_NONE) {
hwc_window_data->validated_type = TDM_COMPOSITION_NONE;
- else
+ hwc_window_data->grabbed_layer_zpos = -1;
+ } else
hwc_window_data->validated_type = TDM_COMPOSITION_CLIENT;
hwc_window_data->assigned_layer_zpos = -1;