From 798ecd4e56b06d6f04c8edf8f05dcdbdd575f26e Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Tue, 18 Jan 2022 17:09:56 +0900 Subject: [PATCH] e_hwc_window_queue: skip setting backup buffer even if client has buffer client can have buffer even if client is iconify and buffer flush is enabled because buffer of client is cleared when buffer flush timer is expired however client wait new buffer is attached when client change to uniconify backup buffer is not needed in this case Change-Id: I15beb8824f71ffa6f4bf39b319abe7795ec3fa40 --- src/bin/e_hwc_window_queue.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/e_hwc_window_queue.c b/src/bin/e_hwc_window_queue.c index 7600390..0dbce02 100644 --- a/src/bin/e_hwc_window_queue.c +++ b/src/bin/e_hwc_window_queue.c @@ -984,8 +984,7 @@ _e_hwc_window_queue_prepare_unset(E_Hwc_Window_Queue *queue) if(!hwc_window->ec) return; - if ((!_comp_wl_buffer_get(hwc_window->ec)) && - (!evas_object_visible_get(hwc_window->ec->frame)) && + if ((!evas_object_visible_get(hwc_window->ec->frame)) && (hwc_window->ec->exp_iconify.buffer_flush) && (e_policy_visibility_client_is_iconic(hwc_window->ec))) return; -- 2.7.4