hwc: add missing setting of need_target_window 14/197614/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Mon, 14 Jan 2019 11:07:10 +0000 (20:07 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Mon, 14 Jan 2019 11:13:01 +0000 (20:13 +0900)
Change-Id: I5c9c026d744f894872b2618a0a5ce914f45fd8df

src/tdm_sprd_hwc.c

index d3ceaba..0e7c83f 100644 (file)
@@ -272,6 +272,7 @@ _sprd_hwc_apply_policy(tdm_sprd_hwc_data *hwc_data , tdm_hwc_window **composited
                        if (!_sprd_hwc_window_has_reserved_buffer(composited_list[next_idx])) {
                                composited_list[next_idx]->validated_type = TDM_HWC_WIN_COMPOSITION_CLIENT;
                                composited_list[next_idx]->lzpos = -1;
+                               hwc_data->need_target_window = 1;
                                next_idx++;
                                break;
                        }