_reset_composition_types: reset grabbed_layer_zpos for unvis hwc_windows 31/165131/1
authorKonstantin Drabeniuk <k.drabeniuk@samsung.com>
Tue, 26 Dec 2017 09:59:37 +0000 (11:59 +0200)
committerKonstantin Drabeniuk <k.drabeniuk@samsung.com>
Tue, 26 Dec 2017 09:59:37 +0000 (11:59 +0200)
Change-Id: I9512f692cf5edec403daf63d36d019d44bf8b4eb
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
src/tdm_exynos_output.c

index 773ebcc88db04526f51429aba10a6d90dc65ec70..144740d6a5d48f0288ed00b1672a4cf6ad5d0d4b 100644 (file)
@@ -1463,6 +1463,7 @@ _reset_composition_types(struct list_head *hwc_window_list)
        LIST_FOR_EACH_ENTRY(hwc_window_data, hwc_window_list, link) {
                if (hwc_window_data->client_type == TDM_COMPOSITION_NONE) {
                        hwc_window_data->validated_type = TDM_COMPOSITION_NONE;
+                       hwc_window_data->grabbed_layer_zpos = -1;
                } else {
                        hwc_window_data->validated_type = TDM_COMPOSITION_CLIENT;
                }